From aba71c9d9474bc58821aa3cc8f29dc9a61ea55e9 Mon Sep 17 00:00:00 2001 From: Florent Date: Fri, 8 Oct 2021 19:11:54 +0200 Subject: [PATCH] Don't store checksum of inexisting files --- scripts/upgrade | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 324f311..1a01715 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -147,14 +147,6 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -#================================================= -# STORE THE CONFIG FILE CHECKSUM -#================================================= - -ynh_backup_if_checksum_is_different --file="$final_path/CONFIG_FILE" -# Recalculate and store the checksum of the file for the next upgrade. -ynh_store_file_checksum --file="$final_path/CONFIG_FILE" - #================================================= # SETUP SYSTEMD #=================================================