mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
Recommend to always upgrade sources instead of 'if ynh_app_upstream_version_changed'
This commit is contained in:
parent
a37f6a913a
commit
1398f5a114
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ def cleanup():
|
|||
(r"ynh_compare_current_package_version.*lt.*version\s?=?\"?([0-9\.]+~ynh[0-9])\"?", "ynh_app_upgrading_from_version_before \\1"),
|
||||
(r"ynh_compare_current_package_version.*le.*version\s?=?\"?([0-9\.]+~ynh[0-9])\"?", "ynh_app_upgrading_from_version_before_or_equal_to \\1"),
|
||||
(r"upgrade_type=\S*", ""),
|
||||
(r'\[\s+"?\$upgrade_type"?\s+==\s+"?UPGRADE_APP"? \]', "ynh_app_upstream_version_changed"),
|
||||
(r'if \[\s+"?\$upgrade_type"?\s+==\s+"?UPGRADE_APP"? \]', "# FIXME: this is still supported but the recommendation is now to *always* re-setup the app sources wether or not the upstream sources changed\nif ynh_app_upstream_version_changed"),
|
||||
# Backup/store
|
||||
(r"ynh_restore\s*$", "ynh_restore_everything"),
|
||||
# -> Specific trick to remove the --not_mandatory here, but replace it with || true for the other occurences
|
||||
|
|
Loading…
Add table
Reference in a new issue