Merge pull request #1501 from YunoHost/fix-delete-checksum-config

Fix ynh_delete_file_checksum in helpers/config
This commit is contained in:
Alexandre Aubin 2022-09-02 23:29:15 +02:00 committed by GitHub
commit a92ed9afc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ _ynh_app_config_apply_one() {
if [[ "${!short_setting}" == "" ]]; then
ynh_backup_if_checksum_is_different --file="$bind_file"
ynh_secure_remove --file="$bind_file"
ynh_delete_file_checksum --file="$bind_file" --update_only
ynh_delete_file_checksum --file="$bind_file"
ynh_print_info --message="File '$bind_file' removed"
else
ynh_backup_if_checksum_is_different --file="$bind_file"