mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
Wrong app name. Can conflict with official wordpress_ynh
Wrong app name. Can conflict with official wordpress_ynh
This commit is contained in:
parent
2e0276e67a
commit
3e1556f761
1 changed files with 5 additions and 5 deletions
|
@ -1,10 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
db_user=wordpress
|
||||
db_name=wordpress
|
||||
db_user=wordpressms
|
||||
db_name=wordpressms
|
||||
root_pwd=$(sudo cat /etc/yunohost/mysql)
|
||||
domain=$(sudo yunohost app setting wordpress domain)
|
||||
domain=$(sudo yunohost app setting wordpressms domain)
|
||||
|
||||
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
|
||||
sudo rm -rf /var/www/wordpressms
|
||||
sudo rm -f /etc/nginx/conf.d/$domain.d/wordpressms.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue