Commit 816fff19 authored by Aral Balkan's avatar Aral Balkan

Trying a less severe uninstall to avoid apt-get errors later.

parent cd41fe70
......@@ -173,13 +173,8 @@ fi
# Remove Dokku and all dependencies if it already exists.
if hash dokku 2>/dev/null; then
echo "Removing existing Dokku installation…\n"
sudo apt-get purge --auto-remove dokku
sudo apt-get purge --auto-remove docker
apt-get clean
sudo rm -rf /var/lib/apt/lists/
sudo rm -rf /var/lib/apt/lists/partial/
apt-get clean
apt-get update
sudo apt-get remove dokku
sudo apt-get remove docker
# Create the root.
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