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
fdbc97dc43
commit
f55bdc5411
1 changed files with 3 additions and 5 deletions
|
@ -85,17 +85,15 @@ then
|
|||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$final_path"
|
||||
pushd $final_path
|
||||
ynh_exec_as $app env $ynh_node_load_PATH $final_path/nodebb upgrade #-l > $install_log
|
||||
popd
|
||||
fi
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
||||
|
||||
pushd $final_path
|
||||
ynh_exec_as $app env $ynh_node_load_PATH $final_path/nodebb upgrade #-l > $install_log
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue