1
0
Fork 0
mirror of synced 2024-11-29 18:55:34 -05:00

fix unzip in unarchive function

This commit is contained in:
Matt Hamilton 2015-12-17 14:04:33 -05:00
parent 3633ffa7d1
commit 2fee647a56

View file

@ -35,7 +35,7 @@ case "${archive_name}" in
(*.xz) unxz "${archive_name}" ;;
(*.lzma) unlzma "${archive_name}" ;;
(*.Z) uncompress "${archive_name}" ;;
(*.zip) unzip "${archive_name}" -d $extract_dir ;;
(*.zip) unzip "${archive_name}";;
(*.rar) unrar &> /dev/null \
&& unrar x -ad "${archive_name}" \
|| rar x -ad "${archive_name}" ;;