mirror of
https://github.com/YunoHost-Apps/nodebb_ynh.git
synced 2024-09-03 19:46:29 +02:00
Update upgrade
This commit is contained in:
parent
a628a77590
commit
5447829e41
1 changed files with 2 additions and 2 deletions
|
@ -85,12 +85,12 @@ then
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
# Shut down your forum
|
# Shut down your forum
|
||||||
./nodebb stop
|
ynh_exec_as $app $ynh_node_load_PATH $final_path/nodebb stop
|
||||||
# Grab the latest and greatest code
|
# Grab the latest and greatest code
|
||||||
git fetch # Grab the latest code from the NodeBB Repository
|
git fetch # Grab the latest code from the NodeBB Repository
|
||||||
git reset --hard origin/$nodebb_version # Replace v1.12.x with the branch name!
|
git reset --hard origin/$nodebb_version # Replace v1.12.x with the branch name!
|
||||||
# Run the NodeBB upgrade script
|
# Run the NodeBB upgrade script
|
||||||
./nodebb upgrade
|
ynh_exec_as $app $ynh_node_load_PATH $final_path/nodebb upgrade
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue