projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bug fixes
[webi-installers/.git]
/
webi
/
template.bash
diff --git
a/webi/template.bash
b/webi/template.bash
index b95c0501e2be6478cf75a692691f8f6198212748..2af0e7e033ed9a571ebd20acd7a4a75275723f12 100644
(file)
--- a/
webi/template.bash
+++ b/
webi/template.bash
@@
-45,6
+45,10
@@
webi_download() {
if [ -n "${1:-}" ]; then
my_url="$1"
else
+ if [ "error" == "$WEBI_CHANNEL" ]; then
+ echo "Could not find $WEBI_NAME v$WEBI_VERSION"
+ exit 1
+ fi
my_url="$WEBI_PKG_URL"
echo "Downloading $WEBI_NAME v$WEBI_VERSION"
fi