1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yacy_ynh.git synced 2024-09-03 18:05:59 +02:00

Remove things useless in remove srcipt

This commit is contained in:
Moul 2013-12-23 10:55:26 +01:00
parent a68c7e6e69
commit 89bd6761ed

View file

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