From af22dabd2f3978f2d14d1abb44956a990c0edddb Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sun, 9 Sep 2012 18:37:11 -0400 Subject: [PATCH] added iar, oar, jar as zip examples. --- scripts/archival/unpack.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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=$? -- 2.34.1