From 85ecb3367ad771ed3f5a83fab327e3cc718f8548 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 18 Nov 2023 18:41:22 +0100 Subject: [PATCH] cleaning --- scripts/remove | 5 +++-- scripts/upgrade | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/remove b/scripts/remove index d13cdf3..5a8d063 100755 --- a/scripts/remove +++ b/scripts/remove @@ -10,10 +10,11 @@ source _common.sh source /usr/share/yunohost/helpers #================================================= -# STANDARD REMOVE +# REMOVE SYSTEM CONFIGURATIONS #================================================= -# REMOVE SERVICE INTEGRATION IN YUNOHOST +# REMOVE SYSTEMD SERVICE #================================================= +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 ynh_exec_warn_less yunohost service status $app >/dev/null diff --git a/scripts/upgrade b/scripts/upgrade index efe314d..51f12f0 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -40,9 +40,9 @@ chmod -R o-rwx "$install_dir" chown -R $app: "$install_dir" #================================================= -# NGINX CONFIGURATION +# REAPPLY SYSTEM CONFIGURATIONS #================================================= -ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1 +ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1 # Create a dedicated NGINX config ynh_add_nginx_config @@ -55,7 +55,7 @@ yunohost service add $app --description="Prowlarr daemon" --log="$data_dir/logs/ #================================================= # UPDATE A CONFIG FILE #================================================= -ynh_script_progression --message="Updating the configuration file.." --weight=1 +ynh_script_progression --message="Updating the configuration file..." --weight=1 ynh_add_config --template="config.xml" --destination="$data_dir/config.xml"