From 8c63326e4515f4944b478d375d62d3293752b68f Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Thu, 16 Sep 2021 22:20:14 +0200 Subject: [PATCH] fix config checksum creation --- scripts/install | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/install b/scripts/install index 86548c7..2ff4f8b 100755 --- a/scripts/install +++ b/scripts/install @@ -125,6 +125,13 @@ ynh_script_progression --message="Modifying a config file..." ynh_add_config --template="../conf/default.env" --destination="$final_path/.env" +#================================================= +# STORE THE CHECKSUM OF THE CONFIG FILE +#================================================= + +# Calculate and store the config file checksum into the app settings +ynh_store_file_checksum --file="$final_path/.env" + #================================================= # BUILD THE APPLICATION #================================================= @@ -143,13 +150,6 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -#================================================= -# STORE THE CHECKSUM OF THE CONFIG FILE -#================================================= - -# Calculate and store the config file checksum into the app settings -ynh_store_file_checksum --file="$final_path/.env" - #================================================= # ADD A CRON JOB #=================================================