1
0
mirror of https://git.koehlerweb.org/frodovdr/guac-install synced 2024-11-23 01:37:13 +01:00

Update guac-upgrade.sh

Fixed spaces on VERSION line
Appended '|rtrimstr("/")' to '.preferred' to remove trailing "/"
This commit is contained in:
Kevin Barroga 2017-03-10 11:13:26 -10:00 committed by GitHub
parent e4198c279f
commit d2696b552a

View File

@ -1,5 +1,5 @@
VERSION = "0.9.11"
SERVER=$(curl -s 'https://www.apache.org/dyn/closer.cgi?as_json=1' | jq --raw-output '.preferred')
VERSION="0.9.11"
SERVER=$(curl -s 'https://www.apache.org/dyn/closer.cgi?as_json=1' | jq --raw-output '.preferred|rtrimstr("/")')
# Stop Tomcat
service tomcat8 stop