Browse Source

Fix handling of bz2

PR/133
Julian Ospald 4 years ago
parent
commit
46441d00fc
No known key found for this signature in database GPG Key ID: 511B62C09D50CD28
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      ghcup

+ 4
- 0
ghcup View File

@@ -1070,6 +1070,10 @@ unpack() {
debug_message "gzip -cd \"${filename}\" | tar -xf -"
( 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)
edo tar xf "${filename}"
;;


Loading…
Cancel
Save