1
0
mirror of https://github.com/MysticRyuujin/guac-install.git synced 2023-10-10 13:36:56 +02:00

Update docker-install.sh

Add a check and note about apt prerequisites
This commit is contained in:
Chase Wright 2021-03-15 12:56:34 -05:00 committed by GitHub
parent 9a3a4d84cb
commit abb5449c71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,6 +55,12 @@ fi
apt-get update apt-get update
apt-get -y install docker-ce docker-ce-cli containerd.io mysql-client wget apt-get -y install docker-ce docker-ce-cli containerd.io mysql-client wget
if [ $? -ne 0 ]; then
echo "Failed to install apt prerequisites docker-ce docker-ce-cli containerd.io mysql-client wget"
echo "Try manually isntalling these prerequisites and try again"
exit
fi
# Set SERVER to be the preferred download server from the Apache CDN # Set SERVER to be the preferred download server from the Apache CDN
SERVER="http://apache.org/dyn/closer.cgi?action=download&filename=guacamole/${GUACVERSION}" SERVER="http://apache.org/dyn/closer.cgi?action=download&filename=guacamole/${GUACVERSION}"