1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/distbin_ynh.git synced 2024-09-03 18:26:10 +02:00

Fix install path

This commit is contained in:
yalh76 2019-02-09 01:23:03 +01:00
parent 078d1c87cc
commit 0351b50380

View file

@ -187,7 +187,8 @@ 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 install --ignore-scripts --production
#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