X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=_webi%2Fbootstrap.sh;h=877ad818443500feccc80ab79a49eeebac4cfba7;hb=912c9c8f06590f06a2a9df1c03d8ead43e96ec70;hp=b9efebbed95e29c23272cca016f5a36c5b70e7b6;hpb=15b95a711346b4fe390fb6e8033cc7438d9c04d0;p=webi-installers%2F.git diff --git a/_webi/bootstrap.sh b/_webi/bootstrap.sh index b9efebb..877ad81 100644 --- a/_webi/bootstrap.sh +++ b/_webi/bootstrap.sh @@ -52,14 +52,9 @@ if [ -n "\$(command -v unxz)" ]; then fi if [ -n "\$(command -v unzip)" ]; then my_ext="zip,\$my_ext" -else - if [ -n "\$(command -v apt-get)" ]; then - >&2 echo "WARN: please install 'unzip':" - >&2 echo " sudo apt-get install -y unzip" - else - >&2 echo "WARN: 'unzip' not found" - fi fi +# for mac/linux 'exe' refers to the uncompressed binary without extension +my_ext="exe,\$my_ext" if [ -n "\$(command -v tar)" ]; then my_ext="tar,\$my_ext" fi