projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9defeb8
)
added iar, oar, jar as zip examples.
author
Chris Koeritz
<fred@gruntose.com>
Sun, 9 Sep 2012 22:37:11 +0000
(18:37 -0400)
committer
Chris Koeritz
<fred@gruntose.com>
Sun, 9 Sep 2012 22:37:11 +0000
(18:37 -0400)
scripts/archival/unpack.sh
patch
|
blob
|
history
diff --git
a/scripts/archival/unpack.sh
b/scripts/archival/unpack.sh
index 5641df960b108f74f4addfdb1ab77cf0c365e183..303937299475f38bb6335b4ca9e092c3870601e6 100644
(file)
--- 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=$?