1
0
mirror of https://git.koehlerweb.org/frodovdr/guac-install synced 2024-11-14 22:47:14 +01:00

Added Download Check

This commit is contained in:
Chase Wright 2017-12-01 11:56:25 -06:00 committed by GitHub
parent 1efaadbf77
commit 3f8ecfca33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,11 @@ SERVER="http://apache.org/dyn/closer.cgi?action=download&filename=guacamole/${VE
# Download Guacamole Files
wget -O guacamole-server-${VERSION}-incubating.tar.gz ${SERVER}/source/guacamole-server-${VERSION}-incubating.tar.gz
if [ ! -f ./guacamole-server-${VERSION}-incubating.tar.gz ]; then
echo "Failed to download guacamole-server-${VERSION}-incubating.tar.gz"
echo "${SERVER}/source/guacamole-server-${VERSION}-incubating.tar.gz"
exit
fi
# Extract Guacamole Files
tar -xzf guacamole-server-${VERSION}-incubating.tar.gz