diff --git a/scripts/backup b/scripts/backup index ffce7d0..fa8c8ce 100644 --- a/scripts/backup +++ b/scripts/backup @@ -43,3 +43,5 @@ ynh_backup --src_path "/var/log/$app" # Dump the database ynh_script_progression --message="Backing up database" ynh_mysql_dump_db "$dbname" > ./db.sql + +ynh_script_progression --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." --last diff --git a/scripts/change_url b/scripts/change_url index 7aca383..c14ee9d 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -61,3 +61,5 @@ sleep 1 # Store the checksum with the 'INTERNAL_TOKEN' value. # Should be removed when the issue https://github.com/go-gitea/gitea/issues/3246 is fixed ynh_store_file_checksum --file "$final_path/custom/conf/app.ini" + +ynh_script_progression --message="Change of URL completed for $app" --last diff --git a/scripts/install b/scripts/install index 4e45cd0..b61967d 100644 --- a/scripts/install +++ b/scripts/install @@ -132,3 +132,5 @@ sleep 1 # Store the checksum with the 'INTERNAL_TOKEN' value. # Should be removed when the issue https://github.com/go-gitea/gitea/issues/3246 is fixed ynh_store_file_checksum --file "$final_path/custom/conf/app.ini" + +ynh_script_progression --message="Installation of $app completed" --last diff --git a/scripts/remove b/scripts/remove index d6e18e3..e1c51a7 100644 --- a/scripts/remove +++ b/scripts/remove @@ -60,4 +60,4 @@ yunohost service remove "$app" ynh_script_progression --message="Removing fail2ban configuration..." ynh_remove_fail2ban_config -true # Do not fail if remove after install error +ynh_script_progression --message="Removal of $app completed" --last diff --git a/scripts/restore b/scripts/restore index f98ab3e..2cc109d 100644 --- a/scripts/restore +++ b/scripts/restore @@ -80,3 +80,5 @@ ynh_script_progression --message="Reloading services..." systemctl reload nginx.service ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "/var/log/$app/gitea.log" -t 10 sleep 1 + +ynh_script_progression --message="Restoration completed for $app" --last diff --git a/scripts/upgrade b/scripts/upgrade index 6a2e577..5bb798b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -220,3 +220,5 @@ you don't see Gogs as installed." >&2 chmod +x /tmp/$script_post_migration (cd /tmp; echo "/tmp/$script_post_migration > /tmp/$script_post_migration.log 2>&1" | at now + 2 minutes) fi + +ynh_script_progression --message="Upgrade of $app completed" --last