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

add --save

This commit is contained in:
yalh76 2019-02-03 02:39:17 +01:00
parent 27ea69727d
commit c4d75ae091

View file

@ -187,8 +187,8 @@ 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 install hoek@^4.2.1 --production sudo -u $app env PATH=$PATH:$nodejs_path npm install hoek@^4.2.1 --save --production
sudo -u $app env PATH=$PATH:$nodejs_path npm install ts-node --production sudo -u $app env PATH=$PATH:$nodejs_path npm install ts-node --save --production
sudo -u $app env PATH=$PATH:$nodejs_path npm install --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=$PATH:$nodejs_path npm audit fix
popd popd