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:
parent
77c19df357
commit
03a7bafc74
1 changed files with 3 additions and 3 deletions
|
@ -133,9 +133,9 @@ mkdir -p "$final_path/db"
|
||||||
chown -R "$app":"$app" "$final_path"
|
chown -R "$app":"$app" "$final_path"
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
sudo -u $app env PATH=$PATH:$nodejs_path npm update --production
|
sudo -u $app env PATH=$nodejs_path npm update --production
|
||||||
sudo -u $app env PATH=$PATH:$nodejs_path npm install --production
|
sudo -u $app env 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 audit fix
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue