diff --git a/scripts/install b/scripts/install index 216ff6c..1cec91b 100644 --- a/scripts/install +++ b/scripts/install @@ -296,6 +296,10 @@ fi # Calculate and store the config file checksum into the app settings ##ynh_store_file_checksum --file="$final_path/CONFIG_FILE" +ynh_store_file_checksum --file="$final_path/config.php" +ynh_store_file_checksum --file="$final_path/config.t2t" +ynh_store_file_checksum --file="$final_path/menu.php" + #================================================= # GENERIC FINALIZATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index e120434..323daed 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -153,9 +153,15 @@ ynh_add_fpm_config ### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script. ### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it. -ynh_backup_if_checksum_is_different --file="$final_path/CONFIG_FILE" +ynh_backup_if_checksum_is_different --file="$final_path/config.php" +ynh_backup_if_checksum_is_different --file="$final_path/config.t2t" +ynh_backup_if_checksum_is_different --file="$final_path/menu.php" # Recalculate and store the checksum of the file for the next upgrade. -ynh_store_file_checksum --file="$final_path/CONFIG_FILE" +ynh_store_file_checksum --file="$final_path/config.php" +ynh_store_file_checksum --file="$final_path/config.t2t" +ynh_store_file_checksum --file="$final_path/menu.php" + + #================================================= # SETUP LOGROTATE