From 77435e02e1c214be63bf2c22fb4fce5ed0cb7b87 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 13 Oct 2019 13:18:57 +0200 Subject: [PATCH] [fix] remove app.sh tests --- scripts/install | 7 ------- scripts/upgrade | 10 ---------- 2 files changed, 17 deletions(-) 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 #=================================================