From f023c61a0be483ae7c99fbf8aa5c58e24e3f3d77 Mon Sep 17 00:00:00 2001 From: John Gaunt Date: Tue, 22 Dec 2020 19:43:28 -0500 Subject: [PATCH] fixed dpkg install line --- zabbix_agent.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zabbix_agent.sh b/zabbix_agent.sh index 98db795..a998b4c 100644 --- a/zabbix_agent.sh +++ b/zabbix_agent.sh @@ -29,7 +29,7 @@ if [ ${OS} == 'Debian' ]; then # Install the repository configuration package. This package contains apt (software package manager) configuration files. if [[ ${OS_VER} =~ ^10.* ]]; then wget -P /tmp/ https://repo.zabbix.com/zabbix/5.2/debian/pool/main/z/zabbix-release/zabbix-release_5.2-1+debian10_all.deb - dpkg -i /tmp/zabbix-release_5.0-1+buster_all.deb + dpkg -i /tmp/zabbix-release_5.2-1+debian10_all.deb fi # update the cache apt update @@ -40,7 +40,7 @@ elif [ ${OS} == 'Ubuntu' ]; then # Install the repository configuration package. This package contains apt (software package manager) configuration files. if [[ ${OS_VER} =~ 20.04 ]]; then wget -P /tmp/ https://repo.zabbix.com/zabbix/5.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.2-1+ubuntu20.04_all.deb - dpkg -i /tmp/zabbix-release_5.0-1+bionic_all.deb + dpkg -i /tmp/zabbix-release_5.2-1+ubuntu20.04_all.deb fi # update the cache apt update