webi-pwsh: remove old file location to fix existing installations
[webi-installers/.git] / _webi / bootstrap.sh
index b9efebbed95e29c23272cca016f5a36c5b70e7b6..877ad818443500feccc80ab79a49eeebac4cfba7 100644 (file)
@@ -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