projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update comments
[webi-installers/.git]
/
_webi
/
bootstrap.sh
diff --git
a/_webi/bootstrap.sh
b/_webi/bootstrap.sh
index b9efebbed95e29c23272cca016f5a36c5b70e7b6..877ad818443500feccc80ab79a49eeebac4cfba7 100644
(file)
--- 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"
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
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
if [ -n "\$(command -v tar)" ]; then
my_ext="tar,\$my_ext"
fi