mirror of
https://github.com/YunoHost-Apps/ztncui_ynh.git
synced 2024-09-03 18:06:05 +02:00
Set HOME for npm commands in upgrade script
This commit is contained in:
parent
63fac66788
commit
153c51bd25
1 changed files with 4 additions and 4 deletions
|
@ -139,10 +139,10 @@ chown -R $app: $final_path
|
|||
ynh_use_nodejs
|
||||
|
||||
pushd $final_path/src
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm --loglevel=error install node-gyp
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm --loglevel=error install
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm --loglevel=error install argon2-cli
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm --loglevel=error audit fix --force
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME=$final_path $ynh_npm --loglevel=error install node-gyp
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME=$final_path $ynh_npm --loglevel=error install argon2-cli
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME=$final_path $ynh_npm --loglevel=error install
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME=$final_path $ynh_npm --loglevel=error audit fix --force
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue