X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=_webi%2Ftemplate.sh;h=adbc3e98e47ad6c1797409e666bc96db7b50b7d0;hb=b8963e2eecc7fc2018a62f3b34ae9bc30d8fc67d;hp=2fff9361c76c728eeb5a2541edf1baedd62d068f;hpb=40e4c9325e021fb3fed07ab73d69046facf7c0dc;p=webi-installers%2F.git diff --git a/_webi/template.sh b/_webi/template.sh index 2fff936..adbc3e9 100644 --- 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 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