From b75f12a70724431909c70b59686ff37aa0a410f2 Mon Sep 17 00:00:00 2001 From: Mickael-Martin Date: Fri, 5 Jul 2019 13:31:47 +0200 Subject: [PATCH] Update restore with install_zabbix_repo function --- scripts/restore | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/restore b/scripts/restore index 4ca33a7..81f2c88 100644 --- a/scripts/restore +++ b/scripts/restore @@ -52,10 +52,7 @@ nonfree=$(ynh_app_setting_get $app nonfree) #================================================= ynh_print_info "Install Zabbix repository" - -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 +install_zabbix_repo ynh_print_info "Update and install dependencies" ynh_package_update