diff --git a/scripts/remove b/scripts/remove index 893a4b0..c9400c2 100644 --- a/scripts/remove +++ b/scripts/remove @@ -1,9 +1,11 @@ #!/bin/bash +source /usr/share/yunohost/helpers + app="jappix" # Retrieve arguments -domain=$(sudo yunohost app setting "$app" domain) +domain=$(ynh_app_setting_set "$app" domain) # Remove sources and configuration sudo rm -rf "/var/www/${app}"