Skip to content

Commit 61eda2c

Browse files
committed
update install script
1 parent f8b0d6c commit 61eda2c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

install.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ VERSION=v1
3838
3939
script=$(curl -so- https://raw.githubusercontent.com/simbo/release-version-script/${VERSION}/release.sh)
4040
if [[ "${script:0:3}" = "404" ]]; then
41-
t="${TERM:-"dumb"}"; printf "\n$(tput -T$t setaf 1)ERROR: version '${VERSION}' not found$(tput -T$t sgr0)\n"; exit 1
41+
t="${TERM:-"dumb"}"
42+
printf "\n$(tput -T$t setaf 1)ERROR: could not find version '${VERSION}'$(tput -T$t sgr0)"
43+
printf "\nSee ${b}${u}https://github.com/simbo/release-version-script/tags${x} for available versions.\n"
44+
exit 1
4245
fi
4346
bash -c "$script" -s $1
4447
EOF

0 commit comments

Comments
 (0)