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"