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