From 5a16e52e73ae92a749305c0fc506bc8f83d42a2a Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Thu, 26 Sep 2013 17:12:28 +0530 Subject: [PATCH] Fix pma and wp-cli purge --- usr/local/sbin/easyengine | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index 3599ed41..c58b361d 100755 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -285,7 +285,7 @@ REMOVEWPCLI() { # Remove WP-CLI echo -e "\033[34m Removing WP-CLI... \e[0m" - sudo rm -rf /var/www/wp-cli || OwnError "Unable To Remove WP-CLI" + sudo rm -rf /usr/share/easyengine/wp-cli /usr/bin/wp || OwnError "Unable To Remove WP-CLI" } REMOVEPMA() @@ -1244,10 +1244,12 @@ then # Purge Nginx PHP5 MySQL Postfix PURGEALL - REMOVEWPCLI + # Remove Unwanted Packages AUTOREMOVE + REMOVEWPCLI + REMOVEPMA # Display Success Message echo -e "\033[34m Nginx PHP5 PMA MySQL Postfix Successfully Purged \e[0m"