From 2c906ec8803f511dbf382e6f26476958d1432e58 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Mon, 4 Mar 2013 12:05:04 +0530 Subject: [PATCH] Fix Nginx Remove & Purge Problem --- setup/engine | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/engine b/setup/engine index 5b609182..abd2c2ac 100755 --- a/setup/engine +++ b/setup/engine @@ -285,7 +285,7 @@ then # Remove Nginx echo -e "\033[34m Removing Nginx... \e[0m" - sudo apt-get -y remove nginx || OwnError "Unable To Remove Nginx" + sudo apt-get -y remove nginx-custom nginx-common || OwnError "Unable To Remove Nginx" # Display Success Message echo -e "\033[34m Nginx Successfully Removed \e[0m" @@ -350,7 +350,7 @@ then # Purge Nginx echo -e "\033[34m Purge Nginx... \e[0m" - sudo apt-get -y remove --purge nginx || OwnError "Unable To Purge Nginx" + sudo apt-get -y remove --purge nginx-custom nginx-common || OwnError "Unable To Purge Nginx" # Display Success Message echo -e "\033[34m Nginx Successfully Purged \e[0m"