From: Chris Koeritz Date: Sun, 9 Sep 2012 22:37:11 +0000 (-0400) Subject: added iar, oar, jar as zip examples. X-Git-Tag: 2.140.90~1251 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=af22dabd2f3978f2d14d1abb44956a990c0edddb;p=feisty_meow.git added iar, oar, jar as zip examples. --- diff --git a/scripts/archival/unpack.sh b/scripts/archival/unpack.sh index 5641df96..30393729 100644 --- a/scripts/archival/unpack.sh +++ b/scripts/archival/unpack.sh @@ -56,7 +56,10 @@ if [[ $unpack_file =~ .*\.tar$ \ || $unpack_file =~ .*\.tar\.bz2$ \ || $unpack_file =~ .*\.tgz$ ]]; then tar -xf $unpack_file &>/dev/null -elif [[ $unpack_file =~ .*\.zip$ ]]; then +elif [[ $unpack_file =~ .*\.zip$ \ + || $unpack_file =~ .*\.jar$ \ + || $unpack_file =~ .*\.iar$ \ + || $unpack_file =~ .*\.oar$ ]]; then unzip $unpack_file &>/dev/null fi save_err=$?