mirror of
https://github.com/YunoHost-Apps/gamja_ynh.git
synced 2024-09-03 18:36:34 +02:00
Fix upgrade: npm i -g requires root permissions
This commit is contained in:
parent
da62ca5e7b
commit
82c708415d
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ ynh_script_progression --message="Building app... (this will take some time and
|
||||||
|
|
||||||
pushd "$install_dir"
|
pushd "$install_dir"
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm i -g npm
|
ynh_exec_warn_less npm i -g npm
|
||||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install --production
|
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install --production
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue