diff --git a/scripts/install b/scripts/install index 606e0b9..07bff87 100644 --- a/scripts/install +++ b/scripts/install @@ -100,13 +100,6 @@ ynh_replace_string "__PORT__" "$port" "../conf/systemd.service" # Create a dedicated systemd config ynh_add_systemd_config -#================================================= -# STORE THE CONFIG FILE CHECKSUM -#================================================= - -# Calculate and store the config file checksum into the app settings -ynh_store_file_checksum "$final_path/${app}.sh" - #================================================= # GENERIC FINALIZATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 81454e2..99a0e57 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -117,16 +117,6 @@ ynh_script_progression --message="Making sure dedicated system user exists..." - # Create a dedicated user (if not existing) ynh_system_user_create --username=$app -#================================================= -# STORE THE CONFIG FILE CHECKSUM -#================================================= - -### 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/${app}.sh" -# Recalculate and store the checksum of the file for the next upgrade. -ynh_store_file_checksum --file="$final_path/${app}.sh" - #================================================= # SETUP LOGROTATE #=================================================