Commit 57604113 authored by Aral Balkan's avatar Aral Balkan

Added -y option to apt-get remove commands so script does not prompt for confirmation.

parent d7dcba09
......@@ -182,7 +182,7 @@ if hash dokku 2>/dev/null; then
echo "Removing existing Dokku installation…\n"
# Remove dokku
sudo apt-get remove dokku
sudo apt-get remove -y dokku
sudo rm -rf /var/lib/dokku
# Removing dokku doesn’t remove docker (even if we used --auto-remove
......@@ -191,8 +191,8 @@ if hash dokku 2>/dev/null; then
#
# https://docs.docker.com/engine/installation/linux/ubuntulinux/#uninstallation
#
sudo apt-get purge docker-engine
sudo apt-get autoremove --purge docker-engine
sudo apt-get purge -y docker-engine
sudo apt-get autoremove -y --purge docker-engine
sudo rm -rf /var/lib/docker
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment