From 59c60fff9d90de50c59c22af4989d2803c829957 Mon Sep 17 00:00:00 2001 From: Mickael-Martin Date: Fri, 5 Jul 2019 13:31:22 +0200 Subject: [PATCH] Update upgrade with install_zabbix_repo repo --- scripts/upgrade | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 11851d3..1b36f0e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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 #=================================================