bugfix: invert download check
authorAJ ONeal <aj@therootcompany.com>
Sun, 2 May 2021 18:39:57 +0000 (18:39 +0000)
committerAJ ONeal <aj@therootcompany.com>
Sun, 2 May 2021 18:39:57 +0000 (18:39 +0000)
_webi/template.sh

index 2fff9361c76c728eeb5a2541edf1baedd62d068f..adbc3e98e47ad6c1797409e666bc96db7b50b7d0 100644 (file)
@@ -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