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:
parent
f36feef942
commit
74f6f76f58
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue