1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wikijs_ynh.git synced 2024-09-03 20:36:09 +02:00

To be sure that npm as $app has all needed rights

This commit is contained in:
yalh76 2019-01-30 17:07:44 +01:00
parent a4c9be8379
commit 8ac2881167

View file

@ -172,6 +172,7 @@ ynh_system_user_create $app
# ...
#=================================================
chown -R $app: $final_path
pushd $final_path
ynh_use_nodejs
sudo -u "$app" npm install "graphql@^0.13.1"