diff --git a/manifest.json b/manifest.json index fad065b..229da07 100755 --- a/manifest.json +++ b/manifest.json @@ -14,7 +14,7 @@ "email": "jodeko@riseup.net" }, "requirements": { - "yunohost": ">> 2.4.0" + "yunohost": ">> 2.6.4" }, "multi_instance": true, "services": [ diff --git a/scripts/remove b/scripts/remove index 00749bb..aae4e59 100755 --- a/scripts/remove +++ b/scripts/remove @@ -9,8 +9,8 @@ main() { local deploy_path=$(ynh_app_setting_get $app deploy_path) local nginx_conf="/etc/nginx/conf.d/${domain}.d/${app}.conf" - sudo rm -rf $deploy_path - sudo rm -f $nginx_conf + ynh_secure_remove $deploy_path + ynh_secure_remove $nginx_conf sudo service nginx reload }