mirror of
https://github.com/YunoHost-Apps/garradin_ynh.git
synced 2024-09-03 18:36:17 +02:00
fix bug upgrade old version
This commit is contained in:
parent
24c8cfa286
commit
3e7b1707b4
1 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ then
|
|||
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
#finalyse upgrade
|
||||
ynh_local_curl "/admin/upgrade.php"
|
||||
ynh_local_curl "index.php"
|
||||
upgrade_type="0.9.8"
|
||||
fi
|
||||
|
||||
|
@ -113,7 +113,7 @@ then
|
|||
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
#finalyse upgrade
|
||||
ynh_local_curl "/admin/upgrade.php"
|
||||
ynh_local_curl "/index.php"
|
||||
upgrade_type="UPGRADE_APP"
|
||||
fi
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue