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

change upgrade

This commit is contained in:
yalh76 2019-02-02 20:52:46 +01:00
parent f1d8696ff3
commit 12f480dc1e

View file

@ -134,9 +134,7 @@ 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 install hoek@^4.2.1 --save sudo -u $app env PATH=$PATH:$nodejs_path npm update
sudo -u $app env PATH=$PATH:$nodejs_path npm install typescript@>=2.0 --save
sudo -u $app env PATH=$PATH:$nodejs_path npm install ts-node
sudo -u $app env PATH=$PATH:$nodejs_path npm install sudo -u $app env PATH=$PATH:$nodejs_path npm install
sudo -u $app env PATH=$PATH:$nodejs_path npm audit fix sudo -u $app env PATH=$PATH:$nodejs_path npm audit fix
popd popd