diff --git a/scripts/remove b/scripts/remove index 1243716..e14034d 100644 --- a/scripts/remove +++ b/scripts/remove @@ -14,6 +14,7 @@ source /usr/share/yunohost/helpers #================================================= # REMOVE SERVICE INTEGRATION IN YUNOHOST #================================================= +ynh_script_progression --message="Removing system configurations related to $app..." --weight=1 # Remove the service from the list of services known by YunoHost (added from `yunohost service add`) if yunohost service status transmission-daemon >/dev/null 2>&1 @@ -22,21 +23,9 @@ then yunohost service remove transmission-daemon fi -#================================================= -# REMOVE NGINX CONFIGURATION -#================================================= -ynh_script_progression --message="Removing NGINX web server configuration..." - # Remove the dedicated NGINX config ynh_remove_nginx_config -#================================================= -# SPECIFIC REMOVE -#================================================= -# REMOVE VARIOUS FILES -#================================================= -ynh_script_progression --message="Removing various files..." - # Web interface ynh_secure_remove --file=/usr/share/transmission diff --git a/scripts/upgrade b/scripts/upgrade index 0b00e23..db9a185 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -59,7 +59,7 @@ else path_less="$path" fi -#ynh_add_config --template="../conf/settings.json" --destination="/etc/transmission-daemon/settings.json" +ynh_add_config --template="../conf/settings.json" --destination="/etc/transmission-daemon/settings.json" chmod 400 "/etc/transmission-daemon/settings.json" chown debian-transmission:debian-transmission "/etc/transmission-daemon/settings.json"