mirror of
https://git.koehlerweb.org/frodovdr/guac-install
synced 2024-11-23 01:37:13 +01:00
Update docker-install.sh
Add a check and note about apt prerequisites
This commit is contained in:
parent
9a3a4d84cb
commit
abb5449c71
@ -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}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user