1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Make the script more idempotent

This commit is contained in:
Alexandre Aubin 2024-06-23 15:38:33 +02:00
parent 2741712f84
commit 59896315dd

View file

@ -56,7 +56,7 @@ def cleanup():
(r"\$\(ynh_get_debian_release\)", "$YNH_DEBIAN_VERSION"),
(r"ynh_read_manifest --manifest\S*", "ynh_read_manifest"),
(r"--manifest_key", "--key"),
(r"COMMON VARIABLES", "COMMON VARIABLES AND CUSTOM HELPERS"),
(r"COMMON VARIABLES\s*$", "COMMON VARIABLES AND CUSTOM HELPERS"),
(r"ynh_string_random ([0-9])", "ynh_string_random --length=\\1"),
(r"ynh_backup_if_checksum_is_different --file=?", "ynh_backup_if_checksum_is_different "),
(r"ynh_store_file_checksum --file=?", "ynh_store_file_checksum "),