From 1e70aa1c3592a629bde83c2bc3b5462c030f4b94 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 9 Feb 2019 02:22:57 +0100 Subject: [PATCH] Fix install --- scripts/install | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 0bb879e..5c67a91 100644 --- a/scripts/install +++ b/scripts/install @@ -187,11 +187,15 @@ mkdir -p "$final_path/distbin-db" chown -R "$app":"$app" "$final_path" pushd $final_path ynh_use_nodejs - #sudo -u $app env PATH=$PATH npm add typescript --save # --production sudo -u $app env PATH=$PATH npm install --ignore-scripts sudo -u $app env PATH=$PATH npm run build popd +pushd $final_path/dist + sudo -u $app env PATH=$PATH npm install --ignore-scripts --production +popd + + #================================================= # SETUP SYSTEMD #=================================================