projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added docs for year in calendar format
[feisty_meow.git]
/
scripts
/
archival
/
unpack.sh
diff --git
a/scripts/archival/unpack.sh
b/scripts/archival/unpack.sh
index 5a882cfc258191579cd7c48ff05870fdae001002..b67ac9788a56eaabbf00af64ac58bc3e2e35cdad 100644
(file)
--- a/
scripts/archival/unpack.sh
+++ b/
scripts/archival/unpack.sh
@@
-62,9
+62,12
@@
save_err=1
if [[ "$archive_file" =~ .*\.tar$ \
|| "$archive_file" =~ .*\.tar\.gz$ \
|| "$archive_file" =~ .*\.tar\.bz2$ \
if [[ "$archive_file" =~ .*\.tar$ \
|| "$archive_file" =~ .*\.tar\.gz$ \
|| "$archive_file" =~ .*\.tar\.bz2$ \
+ || "$archive_file" =~ .*\.tar\.xz$ \
|| "$archive_file" =~ .*\.iar$ \
|| "$archive_file" =~ .*\.oar$ \
|| "$archive_file" =~ .*\.iar$ \
|| "$archive_file" =~ .*\.oar$ \
+ || "$archive_file" =~ .*\.tbz$ \
|| "$archive_file" =~ .*\.tgz$ \
|| "$archive_file" =~ .*\.tgz$ \
+ || "$archive_file" =~ .*\.txz$ \
|| "$archive_file" =~ .*\.ova$ \
|| "$archive_file" =~ .*\.snarf$ \
]]; then
|| "$archive_file" =~ .*\.ova$ \
|| "$archive_file" =~ .*\.snarf$ \
]]; then
@@
-82,7
+85,7
@@
elif [[ "$archive_file" =~ .*\.7z$ ]]; then
7z x "$archive_file" &>/dev/null
save_err=$?
elif [[ "$archive_file" =~ .*\.rar$ ]]; then
7z x "$archive_file" &>/dev/null
save_err=$?
elif [[ "$archive_file" =~ .*\.rar$ ]]; then
- rar x "$archive_file" &>/dev/null
+
un
rar x "$archive_file" &>/dev/null
save_err=$?
fi
save_err=$?
fi