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 in upgrade scripts/upgrade

This commit is contained in:
yalh76 2019-02-08 23:48:37 +01:00
parent 77c19df357
commit 03a7bafc74

View file

@ -133,9 +133,9 @@ 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 update --production
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 update --production
sudo -u $app env PATH=$nodejs_path npm install --production
sudo -u $app env PATH=$nodejs_path npm audit fix
popd
#=================================================