added 7z file format unpacking.
authorChris Koeritz <fred@gruntose.com>
Sat, 21 Mar 2015 22:57:41 +0000 (18:57 -0400)
committerChris Koeritz <fred@gruntose.com>
Sat, 21 Mar 2015 22:57:41 +0000 (18:57 -0400)
scripts/archival/unpack.sh

index 1389d1e7a59c0a33145f8a503b42dee35b64f5c8..cffb90e2cf62079294579462a872727fb34428da 100644 (file)
@@ -69,6 +69,9 @@ elif [[ "$archive_file" =~ .*\.zip$ \
     || "$archive_file" =~ .*\.war$ \
     ]]; then
   unzip "$archive_file" &>/dev/null
+elif [[ "$archive_file" =~ .*\.7z$ \
+    ]]; then
+  7z x "$archive_file" &>/dev/null
 fi
 save_err=$?