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

remove $PATH

This commit is contained in:
yalh76 2019-02-08 23:44:30 +01:00
parent a3b998d4c3
commit 77c19df357

View file

@ -185,10 +185,10 @@ mkdir -p "$final_path/db"
chown -R "$app":"$app" "$final_path"
pushd $final_path
ynh_use_nodejs
sudo -u $app env PATH=$PATH:$nodejs_path npm add hoek@^4.2.1 --save --production
sudo -u $app env PATH=$PATH:$nodejs_path npm install ts-node
sudo -u $app env PATH=$PATH:$nodejs_path npm install --production
sudo -u $app env PATH=$PATH:$nodejs_path npm audit fix
sudo -u $app env PATH=$nodejs_path npm add hoek@^4.2.1 --save --production
sudo -u $app env PATH=$nodejs_path npm install ts-node
sudo -u $app env PATH=$nodejs_path npm install --production
sudo -u $app env PATH=$nodejs_path npm audit fix
popd
#=================================================