1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/petrolette_ynh.git synced 2024-09-03 19:56:26 +02:00
This commit is contained in:
Éric Gaspar 2023-09-21 16:29:43 +02:00
parent 31ee402c7f
commit c09fe84b02
2 changed files with 3 additions and 2 deletions

View file

@ -57,8 +57,9 @@ pushd $install_dir
fi
[[ -v HOME ]] && TMP_HOME=$HOME
HOME=$(pwd)
export NODE_ENV=production
ynh_use_nodejs
ynh_exec_warn_less $ynh_npm install --ignore-scripts
ynh_exec_warn_less ynh_npm install --ignore-scripts
[[ -v TMP_HOME ]] && HOME=$TMP_HOME || unset HOME
popd

View file

@ -69,7 +69,7 @@ pushd $install_dir
[[ -v HOME ]] && TMP_HOME=$HOME
HOME=$(pwd)
ynh_use_nodejs
ynh_exec_warn_less $ynh_npm install --ignore-scripts
ynh_exec_warn_less ynh_npm install --ignore-scripts
[[ -v TMP_HOME ]] && HOME=$TMP_HOME || unset HOME
popd