diff --git a/scripts/remove b/scripts/remove index 3a10794..505ba10 100755 --- a/scripts/remove +++ b/scripts/remove @@ -15,6 +15,10 @@ sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf root_pwd=$(sudo cat /etc/yunohost/mysql) mysql -u root -p$root_pwd -e "DROP DATABASE $app ; DROP USER $app@localhost ;" +sudo rm /etc/apt/sources.list.d/yunohost.list +sudo apt-get update + + # Restart services sudo service nginx reload sudo yunohost app ssowatconf