1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/petrolette_ynh.git synced 2024-09-03 19:56:26 +02:00

fix home unbound error

This commit is contained in:
Tobias Ollive 2021-06-24 13:15:24 +02:00
parent f36feef942
commit 74f6f76f58

View file

@ -88,11 +88,11 @@ pushd $final_path
sed -i "/HTTP_PORT/s/[0-9]*[0-9]/$port/" package.json
sed -i "/HTTPS_PORT/s/[0-9]*[0-9]/$https_port/" package.json
TMP_HOME=$HOME
[[ -v HOME ]] && TMP_HOME=$HOME
HOME=$(pwd)
ynh_use_nodejs
ynh_npm install
HOME=$TMP_HOME
[[ -v TMP_HOME ]] && HOME=$TMP_HOME || unset HOME
popd
#=================================================