From 55bc816a67ad2044542e9f78359f1ce2568c211f Mon Sep 17 00:00:00 2001 From: chebatory Date: Fri, 4 Mar 2022 00:50:11 -0800 Subject: [PATCH] one more Ubuntu install fix --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index cd1bafa..881a522 100644 --- a/install.sh +++ b/install.sh @@ -269,7 +269,7 @@ install_package() { elif [[ $1 == "zeek" ]]; then distrib=$(cat /etc/os-release | grep -E "^ID=" | cut -d"=" -f2) version=$(cat /etc/os-release | grep "VERSION_ID" | cut -d"\"" -f2) - if [[ $distrib == "debian" || $distrib == "ubuntu" ]]; then + if [[ $distrib == "debian" ]]; then echo "deb http://download.opensuse.org/repositories/security:/zeek/Debian_$version/ /" > /etc/apt/sources.list.d/security:zeek.list wget -nv "https://download.opensuse.org/repositories/security:zeek/Debian_$version/Release.key" -O Release.key elif [[ $distrib == "ubuntu" ]]; then