1
0
mirror of https://github.com/MysticRyuujin/guac-install.git synced 2023-10-10 13:36:56 +02: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" VERSION="0.9.11"
SERVER=$(curl -s 'https://www.apache.org/dyn/closer.cgi?as_json=1' | jq --raw-output '.preferred') SERVER=$(curl -s 'https://www.apache.org/dyn/closer.cgi?as_json=1' | jq --raw-output '.preferred|rtrimstr("/")')
# Stop Tomcat # Stop Tomcat
service tomcat8 stop service tomcat8 stop