From 0270f95350a66339f246089aa1732fb21a5ecd7c Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Mon, 12 Feb 2024 17:02:26 +0100 Subject: [PATCH] Update install --- scripts/install | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index f84895a..c0959c0 100755 --- a/scripts/install +++ b/scripts/install @@ -108,13 +108,12 @@ cp "$install_dir/build/package-lock.json" "$install_dir/live/package-lock.json" cp -r "$install_dir/build/libraries/" "$install_dir/live/libraries/" cp -r "$install_dir/build/services/" "$install_dir/live/services/" cp -r "$install_dir/build/patches/" "$install_dir/live/patches/" -cp -r "$install_dir/build/server-ce/config" "$install_dir/config/" -ynh_secure_remove --file="$install_dir/config/settings.js" ynh_add_config --template="../conf/production.json" --destination="$install_dir/build/server-ce/config/production.json" -ynh_add_config --template="../conf/production.json" --destination="$install_dir/live/services/history-v1/config/production.json" -cp "$install_dir/build/server-ce/config/custom-environment-variables.json" "$install_dir/live/services/history-v1/config/" +cp -r "$install_dir/build/server-ce/config" "$install_dir/config/" +cp -r "$install_dir/build/server-ce/config/" "$install_dir/live/services/history-v1/config/" +ynh_secure_remove --file="$install_dir/config/settings.js" ynh_secure_remove --file="$install_dir/build" ynh_script_progression --message="Building app..."