mirror of
https://github.com/YunoHost-Apps/petrolette_ynh.git
synced 2024-09-03 19:56:26 +02:00
fix
This commit is contained in:
parent
96afdfb122
commit
bd37839f09
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue