From 840fffcbc5dd5352cc3263af936d486cb057e497 Mon Sep 17 00:00:00 2001 From: Tobias Ollive Date: Tue, 22 Jun 2021 13:13:33 +0200 Subject: [PATCH] fix forgotten reinstall parameter --- scripts/restore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/restore b/scripts/restore index 62ef7d2..04eabbf 100644 --- a/scripts/restore +++ b/scripts/restore @@ -68,6 +68,10 @@ ynh_script_progression --message="Reinstalling the app ..." --weight=5 ynh_setup_source --dest_dir="$final_path" pushd $final_path +pushd $final_path +# set port in configuration file + sed -i "/HTTP_PORT/s/[0-9]*[0-9]/$port/" package.json + sed -i "/HTTPS_PORT/s/[0-9]*[0-9]/$https_port/" package.json TMP_HOME=$HOME HOME=$(pwd) ynh_use_nodejs