mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +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)
|
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||||
ynh_systemd_action --service_name=nginx --action=reload
|
ynh_systemd_action --service_name=nginx --action=reload
|
||||||
#finalyse upgrade
|
#finalyse upgrade
|
||||||
ynh_local_curl "/admin/index.php"
|
ynh_local_curl "/admin/upgrade.php"
|
||||||
upgrade_type="0.9.8"
|
upgrade_type="0.9.8"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ then
|
||||||
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||||
ynh_systemd_action --service_name=nginx --action=reload
|
ynh_systemd_action --service_name=nginx --action=reload
|
||||||
#finalyse upgrade
|
#finalyse upgrade
|
||||||
ynh_local_curl "/admin/index.php"
|
ynh_local_curl "/admin/upgrade.php"
|
||||||
upgrade_type="UPGRADE_APP"
|
upgrade_type="UPGRADE_APP"
|
||||||
fi
|
fi
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue