mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:07:45 +00:00
Ports: Use unzip to extract zips if bsdtar unavailable (#855)
This commit is contained in:
parent
d14d6218d1
commit
e5e0924c0b
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ func_defined fetch || fetch() {
|
||||||
run_nocd gunzip "$filename"
|
run_nocd gunzip "$filename"
|
||||||
;;
|
;;
|
||||||
*.zip)
|
*.zip)
|
||||||
run_nocd bsdtar xf "$filename"
|
run_nocd bsdtar xf "$filename" || run_nocd unzip -qo "$filename"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Note: no case for file $filename."
|
echo "Note: no case for file $filename."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue