projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix: invert download check
[webi-installers/.git]
/
_webi
/
template.sh
diff --git
a/_webi/template.sh
b/_webi/template.sh
index 2fff9361c76c728eeb5a2541edf1baedd62d068f..adbc3e98e47ad6c1797409e666bc96db7b50b7d0 100644
(file)
--- a/
_webi/template.sh
+++ b/
_webi/template.sh
@@
-170,7
+170,7
@@
function __bootstrap_webi() {
if [[ $- == *i* ]]; then
my_show_progress="--show-progress"
fi
if [[ $- == *i* ]]; then
my_show_progress="--show-progress"
fi
- if wget -q $my_show_progress --user-agent="wget $WEBI_UA" -c "$my_url" -O "$my_dl.part"; then
+ if
!
wget -q $my_show_progress --user-agent="wget $WEBI_UA" -c "$my_url" -O "$my_dl.part"; then
echo >&2 "failed to download from $WEBI_PKG_URL"
exit 1
fi
echo >&2 "failed to download from $WEBI_PKG_URL"
exit 1
fi