mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
check repo after upgrade repo
This commit is contained in:
parent
97a16d2605
commit
ed59890d0a
1 changed files with 2 additions and 3 deletions
|
@ -114,9 +114,6 @@ fi
|
|||
#=================================================
|
||||
# STANDARD UPGRADE STEPS
|
||||
#=================================================
|
||||
ynh_print_info "Check if new zabbix version is available on repo"
|
||||
ynh_package_update
|
||||
|
||||
#REMOVE DUPLICATE LOG ENTRY IN LOGROTATE PATCH IF NEEDED
|
||||
ynh_remove_logrotate
|
||||
|
||||
|
@ -131,6 +128,8 @@ if [ "$trustedVersionRepo" != "zabbixRepoInstalledVersion" ];then
|
|||
rm zabbix-release_*.deb
|
||||
fi
|
||||
|
||||
ynh_print_info "Check if new zabbix version is available on repo"
|
||||
ynh_package_update
|
||||
|
||||
zabbixServerInstalledVersion=$(apt-cache policy zabbix-server-mysql | sed -n '2p' | grep -Po ".*: \K(.*)")
|
||||
zabbixServerCandidateVersion=$(apt-cache policy zabbix-server-mysql | sed -n '3p' | grep -Po ".*: \K(.*)")
|
||||
|
|
Loading…
Add table
Reference in a new issue