mirror of
https://github.com/YunoHost-Apps/mytinytodo_ynh.git
synced 2024-09-03 19:46:01 +02:00
Update upgrade
This commit is contained in:
parent
4520456c9e
commit
2e54d8ae1e
1 changed files with 12 additions and 0 deletions
|
@ -103,6 +103,18 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." -
|
|||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
|
||||
#=================================================
|
||||
# UPDATE CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Updating mytinytodo database..." --weight=3
|
||||
|
||||
|
||||
(cd "$final_path"
|
||||
/usr/bin/php$phpversion -q $final_path/settings.php)
|
||||
|
||||
ynh_secure_remove --file="$final_path/settings.php"
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue