1
0
Fork 0
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:
Hadrien 2022-04-15 03:01:12 +02:00 committed by GitHub
commit e2a14cf6cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -107,7 +107,7 @@ ynh_add_nginx_config
ynh_script_progression --message="Installing Uptime Kuma dependencies..." --weight=7 ynh_script_progression --message="Installing Uptime Kuma dependencies..." --weight=7
pushd "$final_path" 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 popd
#================================================= #=================================================

View file

@ -82,7 +82,7 @@ ynh_use_nodejs
#================================================= #=================================================
ynh_script_progression --message="Reinstalling dependencies..." --weight=7 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 # RESTORE VARIOUS FILES

View file

@ -99,7 +99,7 @@ ynh_add_nginx_config
ynh_script_progression --message="Upgrading Uptime Kuma dependencies..." --weight=7 ynh_script_progression --message="Upgrading Uptime Kuma dependencies..." --weight=7
pushd "$final_path" 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 popd
#================================================= #=================================================