fix docker install

pull/321/head
Botspot 3 years ago committed by GitHub
parent af6914e7b5
commit 8c08c492f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -42,7 +42,7 @@ if [[ "$(lsb_release -cs)" = "buster" ]]; then
# Uninstall Old Docker
sudo apt-get remove -y docker.io
# Install Docker
if [ ! command -v docker &>/dev/null ];then
if ! command -v docker &>/dev/null ;then
curl -fsSL https://get.docker.com -o "${STORAGE}/get-docker.sh" || error 'Unable To Download Docker Install Script'
sudo sh "${STORAGE}/get-docker.sh" || error 'Unable To Install Docker'
rm "${STORAGE}/get-docker.sh"

Loading…
Cancel
Save