supporting xz extension for tar files
authorChris Koeritz <fred@gruntose.com>
Tue, 28 Mar 2017 16:14:22 +0000 (12:14 -0400)
committerChris Koeritz <fred@gruntose.com>
Tue, 28 Mar 2017 16:14:22 +0000 (12:14 -0400)
scripts/archival/unpack.sh

index 8053c898bb3cacb3423d5847f5c617880d397842..04ce990bc0cb13db6957b4556ed0162649b7cf6a 100644 (file)
@@ -62,6 +62,7 @@ save_err=1
 if [[ "$archive_file" =~ .*\.tar$ \
     || "$archive_file" =~ .*\.tar\.gz$ \
     || "$archive_file" =~ .*\.tar\.bz2$ \
+    || "$archive_file" =~ .*\.tar\.xz$ \
     || "$archive_file" =~ .*\.iar$ \
     || "$archive_file" =~ .*\.oar$ \
     || "$archive_file" =~ .*\.tgz$ \