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
eda6b9f356
commit
8fe0ba1e7a
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,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/index.php"
|
||||
ynh_local_curl "/admin/upgrade.php"
|
||||
upgrade_type="0.9.8"
|
||||
fi
|
||||
|
||||
|
@ -107,7 +107,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/index.php"
|
||||
ynh_local_curl "/admin/upgrade.php"
|
||||
upgrade_type="UPGRADE_APP"
|
||||
fi
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue