diff --git a/scripts/install b/scripts/install index 482ab7a..13f6b24 100644 --- a/scripts/install +++ b/scripts/install @@ -170,6 +170,7 @@ ynh_replace_string --match_string="X-Frame-Options : SAMEORIGIN" --replace_strin # Calculate and store the config file checksum into the app settings ynh_store_file_checksum --file="$final_path/config/production.yaml" +ynh_store_file_checksum --file="$final_path/config/local-production.json" #================================================= # BUILD YARN DEPENDENCIES diff --git a/scripts/upgrade b/scripts/upgrade index 5c3d801..1c61765 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -181,8 +181,8 @@ ynh_replace_string --match_string="__EMAIL__" --replace_string="$admin_email" -- ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config/production.yaml" # Recalculate and store the checksum of the file for the next upgrade. -ynh_store_file_checksum "$final_path/config/local-production.json" -ynh_store_file_checksum "$final_path/config/production.yaml" +ynh_store_file_checksum --file="$final_path/config/local-production.json" +ynh_store_file_checksum --file="$final_path/config/production.yaml" #================================================= # FIX NGINX DOMAIN CONFIGURATION