mirror of
https://github.com/YunoHost-Apps/uptime-kuma_ynh.git
synced 2024-10-01 13:34:58 +02:00
Merge pull request #12 from hidrarga/master
Build dependencies as app user
This commit is contained in:
commit
e2a14cf6cc
3 changed files with 3 additions and 3 deletions
|
@ -107,7 +107,7 @@ ynh_add_nginx_config
|
|||
ynh_script_progression --message="Installing Uptime Kuma dependencies..." --weight=7
|
||||
|
||||
pushd "$final_path"
|
||||
ynh_exec_warn_less $ynh_npm install
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -82,7 +82,7 @@ ynh_use_nodejs
|
|||
#=================================================
|
||||
ynh_script_progression --message="Reinstalling dependencies..." --weight=7
|
||||
|
||||
cd $final_path && ynh_exec_warn_less $ynh_npm install
|
||||
cd $final_path && ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install
|
||||
|
||||
#=================================================
|
||||
# RESTORE VARIOUS FILES
|
||||
|
|
|
@ -99,7 +99,7 @@ ynh_add_nginx_config
|
|||
ynh_script_progression --message="Upgrading Uptime Kuma dependencies..." --weight=7
|
||||
|
||||
pushd "$final_path"
|
||||
ynh_exec_warn_less $ynh_npm install
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue