Commit 5b9630ff authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

unpack tar.bz2 archives using tar (eterbug #17830)

parent a0341ee4
...@@ -119,6 +119,10 @@ extract_archive() ...@@ -119,6 +119,10 @@ extract_archive()
is_command zstd || fatal "Could not find zstd package. Please install zstd package and retry." is_command zstd || fatal "Could not find zstd package. Please install zstd package and retry."
extract_command "tar -I zstd -xhf" "$arc" extract_command "tar -I zstd -xhf" "$arc"
;; ;;
tar.bz2|tbz2)
is_command bunzip2 || fatal "Could not find bzip2 package. Please install bzip2 package and retry."
extract_command "tar -xjf" "$arc"
;;
tar) tar)
extract_command "tar -xhf" "$arc" extract_command "tar -xhf" "$arc"
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment