fix unzip in unarchive function
This commit is contained in:
parent
3633ffa7d1
commit
2fee647a56
1 changed files with 1 additions and 1 deletions
|
@ -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}" ;;
|
||||
|
|
Loading…
Reference in a new issue