1
0
mirror of https://github.com/MysticRyuujin/guac-install.git synced 2023-10-10 13:36:56 +02: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 # Download Guacamole Files
wget -O guacamole-server-${VERSION}-incubating.tar.gz ${SERVER}/source/guacamole-server-${VERSION}-incubating.tar.gz 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 # Extract Guacamole Files
tar -xzf guacamole-server-${VERSION}-incubating.tar.gz tar -xzf guacamole-server-${VERSION}-incubating.tar.gz