From cf2a625e8ed6681647aa5e73cc674b3ef6e76575 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 9 Nov 2021 08:01:22 +0100 Subject: [PATCH] Update install --- scripts/install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index a5e9fbb..6bef4a4 100755 --- a/scripts/install +++ b/scripts/install @@ -85,7 +85,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1 ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir="$final_path" --keep=data/ +ynh_setup_source --dest_dir="$final_path" # Download, check integrity, uncompress and patch the source from dist.src ynh_setup_source --source_id="dist" --dest_dir="$final_path/dist" @@ -106,7 +106,9 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Installing Uptime Kuma dependencies..." --weight=7 -cd $final_path && ynh_exec_warn_less $ynh_npm install +pushd "$final_path" + ynh_exec_warn_less $ynh_npm install +popd #================================================= # SETUP SYSTEMD