Fix handling of bz2
This commit is contained in:
parent
91334cd515
commit
46441d00fc
4
ghcup
4
ghcup
@ -1070,6 +1070,10 @@ unpack() {
|
|||||||
debug_message "gzip -cd \"${filename}\" | tar -xf -"
|
debug_message "gzip -cd \"${filename}\" | tar -xf -"
|
||||||
( gzip -cd "${filename}" | tar xf - ; ) || die "unpacking failed!"
|
( gzip -cd "${filename}" | tar xf - ; ) || die "unpacking failed!"
|
||||||
;;
|
;;
|
||||||
|
bz2)
|
||||||
|
debug_message "bzip2 -cd \"${filename}\" | tar -xf -"
|
||||||
|
( bzip2 -cd "${filename}" | tar xf - ; ) || die "unpacking failed!"
|
||||||
|
;;
|
||||||
tar)
|
tar)
|
||||||
edo tar xf "${filename}"
|
edo tar xf "${filename}"
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user