projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
still doesn't work. #(@*(@*# where the @*#*@&# is that logging directory going wrong?
[feisty_meow.git]
/
scripts
/
archival
/
unpack.sh
diff --git
a/scripts/archival/unpack.sh
b/scripts/archival/unpack.sh
index 5641df960b108f74f4addfdb1ab77cf0c365e183..f5c2aa93a2623158a169b475a280e1685c05f497 100644
(file)
--- a/
scripts/archival/unpack.sh
+++ b/
scripts/archival/unpack.sh
@@
-54,9
+54,16
@@
fi
if [[ $unpack_file =~ .*\.tar$ \
|| $unpack_file =~ .*\.tar\.gz$ \
|| $unpack_file =~ .*\.tar\.bz2$ \
if [[ $unpack_file =~ .*\.tar$ \
|| $unpack_file =~ .*\.tar\.gz$ \
|| $unpack_file =~ .*\.tar\.bz2$ \
- || $unpack_file =~ .*\.tgz$ ]]; then
+ || $unpack_file =~ .*\.iar$ \
+ || $unpack_file =~ .*\.oar$ \
+ || $unpack_file =~ .*\.tgz$ \
+ ]]; then
tar -xf $unpack_file &>/dev/null
tar -xf $unpack_file &>/dev/null
-elif [[ $unpack_file =~ .*\.zip$ ]]; then
+elif [[ $unpack_file =~ .*\.zip$ \
+ || $unpack_file =~ .*\.odt$ \
+ || $unpack_file =~ .*\.jar$ \
+ || $unpack_file =~ .*\.war$ \
+ ]]; then
unzip $unpack_file &>/dev/null
fi
save_err=$?
unzip $unpack_file &>/dev/null
fi
save_err=$?