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:
parent
1efaadbf77
commit
3f8ecfca33
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user