chibisafe_ynh/scripts
Félix Piédallu 9dd25c37a0 Rework upgrade, remove the 'if upgrade_type == UPGRADE_APP' test.
Indeed, even if the upgrade is only a 'ynh revision', this revision might actually be fixing
what *is* inside this if test.
So we can't discriminate generic things in the script according to the upgrade_type.

The ynh_check_app_version_changed helper is now a simple shim that reads YNH_APP_UPGRADE_TYPE.
The rest of its old logic is now handled by the core.
So instead of calling it, we can just read YNH_APP_UPGRADE_TYPE and add some documentation about
possible values.
2024-01-11 10:29:35 +01:00
..
_common.sh Propagate changes related to manifestv2 2023-01-30 19:22:59 +01:00
backup Fix comments: # for real scripts comments, ### for app packaging doc 2024-01-10 23:53:14 +01:00
change_url fix SC2086 2023-12-30 03:02:42 +01:00
config Change tabs to spaces, move 'if, then' on a single line instead of splitted lines 2024-01-10 23:34:28 +01:00
install Merge pull request #224 from Salamandar/codingstyle 2024-01-10 23:57:58 +01:00
remove Fix comments: # for real scripts comments, ### for app packaging doc 2024-01-10 23:53:14 +01:00
restore Fix comments: # for real scripts comments, ### for app packaging doc 2024-01-10 23:53:14 +01:00
upgrade Rework upgrade, remove the 'if upgrade_type == UPGRADE_APP' test. 2024-01-11 10:29:35 +01:00