mirror of
https://github.com/YunoHost-Apps/wikijs_ynh.git
synced 2024-09-03 20:36:09 +02:00
fix sudo npm
This commit is contained in:
parent
189c62f511
commit
26adf6118b
1 changed files with 2 additions and 0 deletions
|
@ -172,6 +172,8 @@ ynh_system_user_create $app
|
|||
# ...
|
||||
#=================================================
|
||||
|
||||
chown -R $app: $final_path
|
||||
|
||||
pushd $final_path
|
||||
ynh_use_nodejs
|
||||
sudo -u $app $nodejs_path/npm install "graphql@^0.13.1"
|
||||
|
|
Loading…
Add table
Reference in a new issue