diff --git a/bin/ddn.sh b/bin/ddn.sh index f59463a..86311a7 100644 --- a/bin/ddn.sh +++ b/bin/ddn.sh @@ -1,11 +1,11 @@ #!/bin/bash ## ~/dockery/bin/ddn.sh echo "Starting " -echo "re-installing..." ; sudo apt-get update -y && sudo apt-get upgrade -y ; sudo curl -fsSL https://get.docker.com -o get-docker.sh && sudo bash get-docker.sh && sudo apt-get upgrade -y && sudo apt-get update -y ; sudo usermod -aG docker $USER ; sudo systemctl enable docker.service && sudo systemctl enable containerd.service && sudo systemctl restart docker && echo "docker installed!" +echo "re-installing..." ; sudo apt-get update -y && sudo apt-get upgrade -y ; sudo curl -fsSL https://get.docker.com -o get-docker.sh && sudo bash get-docker.sh && sudo apt-get upgrade -y && sudo apt-get update -y ; sudo usermod -aG docker $USER ; sudo systemctl enable docker.service && sudo systemctl enable containerd.service && echo "docker installed!" retVal=$? if [ $retVal -ne 0 ]; then echo "Error" else echo "Completed" fi -echo "returned "$retVal \ No newline at end of file +echo "returned "$retVal