fixed dpkg install line

This commit is contained in:
2020-12-22 19:43:28 -05:00
parent 98c8de7797
commit f023c61a0b

View File

@@ -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