1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wordpress_ynh.git synced 2024-09-03 20:36:10 +02:00

Update remove

This commit is contained in:
abeudin 2013-12-04 18:34:16 +01:00
parent dfb507548f
commit 87864de196

View file

@ -5,6 +5,6 @@ db_name=wordpress
root_pwd=$(sudo cat /etc/yunohost/mysql)
domain=$(sudo yunohost app setting wordpress domain)
mysql -u root -p$root_pwd -e "DROP DATABASE $db_name ; DROP USER $db_user ;"
mysql -u root -p$root_pwd -e "DROP DATABASE $db_name ; DROP USER $db_user@localhost ;"
sudo rm -rf /var/www/wordpress
sudo rm -f /etc/nginx/conf.d/$domain.d/wordpress.conf