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