From 96b3f3dd9a12df419c0d74d977e98d3a03684f41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Junio?= Date: Fri, 1 Dec 2017 11:27:50 -0200 Subject: [PATCH] Update guac-install.sh --- guac-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guac-install.sh b/guac-install.sh index 9ec9d49..2305743 100644 --- a/guac-install.sh +++ b/guac-install.sh @@ -80,7 +80,7 @@ echo "# GUACAMOLE ENV VARIABLE" >> /etc/default/${TOMCAT} echo "GUACAMOLE_HOME=/etc/guacamole" >> /etc/default/${TOMCAT} # 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 wget ${SERVER}/incubator/guacamole/${VERSION}-incubating/source/guacamole-server-${VERSION}-incubating.tar.gz