From fe85a9375b8984436acc23e4bde7c19a9c29e06d Mon Sep 17 00:00:00 2001 From: Mickael-Martin Date: Thu, 4 Jul 2019 13:44:17 +0200 Subject: [PATCH] add ynh_install_extra_repo --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 5b31c1d..89366aa 100644 --- a/scripts/install +++ b/scripts/install @@ -99,9 +99,9 @@ ynh_print_info "Remove Zabbix if already installed" apt purge zabbix* -y ynh_print_info "Install Zabbix repository" -wget -q "https://repo.zabbix.com/zabbix/4.2/debian/pool/main/z/zabbix-release/zabbix-release_4.2-1%2Bstretch_all.deb" -dpkg -i zabbix-release_*.deb -rm zabbix-release_*.deb +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 --key=https://repo.zabbix.com/zabbix-official-repo.key --priority=999 ynh_print_info "Update and install dependencies" #ynh_package_update no need cause ynh_install_app_dependencies after