From d83b2cc90873b4da25c3fee24ccced36ac3abd2e Mon Sep 17 00:00:00 2001 From: Ilya Mashchenko Date: Wed, 11 Dec 2024 12:28:14 +0200 Subject: [PATCH] fix(kickstart): netdata_avail_check on Ubuntu (#19183) --- packaging/installer/kickstart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/installer/kickstart.sh b/packaging/installer/kickstart.sh index 25357de2c28b8e..4dc13cd5e49669 100755 --- a/packaging/installer/kickstart.sh +++ b/packaging/installer/kickstart.sh @@ -1476,7 +1476,7 @@ pkg_installed() { netdata_avail_check() { case "${DISTRO_COMPAT_NAME}" in debian|ubuntu) - env DEBIAN_FRONTEND=noninteractive apt-cache policy netdata | grep -q repo.netdata.cloud/repos/; + env DEBIAN_FRONTEND=noninteractive apt-cache policy netdata | grep -q "repo.*.netdata.cloud/repos/"; return $? ;; centos|fedora|ol|amzn)