From 996bab5ad7dae704338451c5c578b8bb6dffc5f0 Mon Sep 17 00:00:00 2001 From: Mickael-Martin Date: Wed, 3 Jul 2019 12:49:33 +0200 Subject: [PATCH] apt purge zabbix* -y --- scripts/install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 4a6a7c8..a991758 100644 --- a/scripts/install +++ b/scripts/install @@ -95,8 +95,10 @@ ynh_app_setting_set "$app" language "$language" ### - Remove the section "REMOVE DEPENDENCIES" in the remove script ### - As well as the section "REINSTALL DEPENDENCIES" in the restore script ### - And the section "UPGRADE DEPENDENCIES" in the upgrade script -ynh_print_info "Install Zabbix repository" +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