mirror of
https://github.com/YunoHost-Apps/petrolette_ynh.git
synced 2024-09-03 19:56:26 +02:00
fix forgotten reinstall parameter
This commit is contained in:
parent
d8645ca778
commit
840fffcbc5
1 changed files with 4 additions and 0 deletions
|
@ -68,6 +68,10 @@ ynh_script_progression --message="Reinstalling the app ..." --weight=5
|
|||
ynh_setup_source --dest_dir="$final_path"
|
||||
|
||||
pushd $final_path
|
||||
pushd $final_path
|
||||
# set port in configuration file
|
||||
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
|
||||
HOME=$(pwd)
|
||||
ynh_use_nodejs
|
||||
|
|
Loading…
Add table
Reference in a new issue