X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Farchival%2Funpack.sh;h=04ce990bc0cb13db6957b4556ed0162649b7cf6a;hb=f8348089caebfaec0bf14f148ea5a34074319117;hp=5a882cfc258191579cd7c48ff05870fdae001002;hpb=8cae6bcb0a4c8962c18d50f7323558dddf299b2f;p=feisty_meow.git diff --git a/scripts/archival/unpack.sh b/scripts/archival/unpack.sh index 5a882cfc..04ce990b 100644 --- a/scripts/archival/unpack.sh +++ b/scripts/archival/unpack.sh @@ -62,9 +62,11 @@ save_err=1 if [[ "$archive_file" =~ .*\.tar$ \ || "$archive_file" =~ .*\.tar\.gz$ \ || "$archive_file" =~ .*\.tar\.bz2$ \ + || "$archive_file" =~ .*\.tar\.xz$ \ || "$archive_file" =~ .*\.iar$ \ || "$archive_file" =~ .*\.oar$ \ || "$archive_file" =~ .*\.tgz$ \ + || "$archive_file" =~ .*\.txz$ \ || "$archive_file" =~ .*\.ova$ \ || "$archive_file" =~ .*\.snarf$ \ ]]; then @@ -82,7 +84,7 @@ elif [[ "$archive_file" =~ .*\.7z$ ]]; then 7z x "$archive_file" &>/dev/null save_err=$? elif [[ "$archive_file" =~ .*\.rar$ ]]; then - rar x "$archive_file" &>/dev/null + unrar x "$archive_file" &>/dev/null save_err=$? fi