diff --git a/scripts/remove b/scripts/remove index 3a752b4..d3c64c6 100644 --- a/scripts/remove +++ b/scripts/remove @@ -5,7 +5,7 @@ app=rainloop db_user=$app db_name=$app root_pwd=$(sudo cat /etc/yunohost/mysql) -domain=$(sudo yunohost app setting rainloop domain) +domain=$(sudo yunohost app setting $app domain) mysql -u root -p$root_pwd -e "DROP DATABASE $db_name ; DROP USER $db_user@localhost ;" sudo rm -rf /var/www/$app