Skip to content

Commit 38a06c8

Browse files
committed
Fix pma and wp-cli purge
1 parent 5a16e52 commit 38a06c8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

usr/local/sbin/easyengine

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,15 +285,14 @@ REMOVEWPCLI()
285285
{
286286
# Remove WP-CLI
287287
echo -e "\033[34m Removing WP-CLI... \e[0m"
288-
sudo rm -rf /usr/share/easyengine/wp-cli /usr/bin/wp || OwnError "Unable To Remove WP-CLI"
288+
rm -rf /usr/share/easyengine/wp-cli /usr/bin/wp /etc/bash_completion.d/wp-completion.bash || OwnError "Unable To Remove WP-CLI"
289289
}
290290

291291
REMOVEPMA()
292292
{
293293
# Remove PMA/phpMyAdmin
294294
echo -e "\033[34m Removing PMA... \e[0m"
295-
sudo rm -rf /var/www/shared/pma \
296-
|| OwnError "Unable To Remove PMA"
295+
rm -rf /var/www/shared/pma || OwnError "Unable To Remove PMA"
297296
}
298297

299298
REMOVEMYSQL()

0 commit comments

Comments
 (0)