fix config checksum creation

This commit is contained in:
Sebastian Gumprich
2021-09-16 22:20:14 +02:00
parent f472d8c49e
commit 8c63326e45
+7 -7
View File
@@ -125,6 +125,13 @@ ynh_script_progression --message="Modifying a config file..."
ynh_add_config --template="../conf/default.env" --destination="$final_path/.env" 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 # BUILD THE APPLICATION
#================================================= #=================================================
@@ -143,13 +150,6 @@ chmod 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:www-data "$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 # ADD A CRON JOB
#================================================= #=================================================