From ede1394cfa7291444a3a79b1df45f2701adc79fc Mon Sep 17 00:00:00 2001 From: Chase Wright Date: Fri, 1 Dec 2017 11:42:31 -0600 Subject: [PATCH] Updated Download Location --- docker-install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-install.sh b/docker-install.sh index 5012e47..c961fbe 100644 --- a/docker-install.sh +++ b/docker-install.sh @@ -10,13 +10,13 @@ echo #Install Stuff apt update -apt -y install docker.io mysql-client wget jq curl +apt -y install docker.io mysql-client wget # Get perfered download server -SERVER=$(curl -s 'https://www.apache.org/dyn/closer.cgi?as_json=1' | jq --raw-output '.preferred|rtrimstr("/")') +SERVER="http://apache.org/dyn/closer.cgi?action=download&filename=guacamole/${VERSION}-incubating" # Download the Guacamole auth files for MySQL -wget ${SERVER}/incubator/guacamole/${VERSION}-incubating/binary/guacamole-auth-jdbc-${VERSION}-incubating.tar.gz +wget -O guacamole-auth-jdbc-${VERSION}-incubating.tar.gz ${SERVER}/binary/guacamole-auth-jdbc-${VERSION}-incubating.tar.gz tar -xzf guacamole-auth-jdbc-${VERSION}-incubating.tar.gz # Start MySQL