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 15:11:20 +02:00
parent 96afdfb122
commit bd37839f09
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ pushd $install_dir
[[ -v HOME ]] && TMP_HOME=$HOME
HOME=$(pwd)
ynh_use_nodejs
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH NODE_ENV=production $ynh_npm install --ignore-scripts
ynh_exec_warn_less NODE_ENV=production $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 sudo -u $app env $ynh_node_load_PATH NODE_ENV=production $ynh_npm install --ignore-scripts
ynh_exec_warn_less NODE_ENV=production $ynh_npm install --ignore-scripts
[[ -v TMP_HOME ]] && HOME=$TMP_HOME || unset HOME
popd