mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
Update upgrade with install_zabbix_repo repo
This commit is contained in:
parent
0c0a4f3ac7
commit
59c60fff9d
1 changed files with 1 additions and 3 deletions
|
@ -114,9 +114,7 @@ fi
|
|||
#patch if zabbix-release installed
|
||||
if [ "$(dpkg -l zabbix-release 2>/dev/null | wc -l)" -ne 0 ];then
|
||||
DEBIAN_FRONTEND=noninteractive apt purge zabbix-release -y
|
||||
ynh_add_extra_apt_repos__3_path=$(find /var/cache/yunohost/ -name "ynh_add_extra_apt_repos__3")
|
||||
source "$ynh_add_extra_apt_repos__3_path"
|
||||
ynh_install_extra_repo --repo="http://repo.zabbix.com/zabbix/4.2/debian $(lsb_release -sc) main" --key=https://repo.zabbix.com/zabbix-official-repo.key --priority=999 --name=zabbix
|
||||
install_zabbix_repo
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue