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:
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