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

Update guac-install.sh

This commit is contained in:
Álex Junio 2017-12-01 11:27:50 -02:00 committed by GitHub
parent 8cd64fd3f0
commit 96b3f3dd9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,7 @@ echo "# GUACAMOLE ENV VARIABLE" >> /etc/default/${TOMCAT}
echo "GUACAMOLE_HOME=/etc/guacamole" >> /etc/default/${TOMCAT} echo "GUACAMOLE_HOME=/etc/guacamole" >> /etc/default/${TOMCAT}
# Set SERVER to be the preferred download server from the Apache CDN # Set SERVER to be the preferred download server from the Apache CDN
SERVER=$(curl -s 'https://www.apache.org/dyn/closer.cgi?as_json=1' | jq --raw-output '.preferred|rtrimstr("/")') SERVER=$(curl -s 'https://www.apache.org/dyn/closer.cgi?' | jq --raw-output '.preferred|rtrimstr("/")')
# Download Guacamole Server # Download Guacamole Server
wget ${SERVER}/incubator/guacamole/${VERSION}-incubating/source/guacamole-server-${VERSION}-incubating.tar.gz wget ${SERVER}/incubator/guacamole/${VERSION}-incubating/source/guacamole-server-${VERSION}-incubating.tar.gz