ntopng: use ntop.org's documented apt repo per Debian codename, not always apt-stable (#16862)

This commit is contained in:
CanbiZ (MickLesk)
2026-08-31 08:49:57 +02:00
committed by GitHub
parent a03866e79a
commit 97c00113be
2 changed files with 12 additions and 2 deletions
+9 -1
View File
@@ -13,7 +13,15 @@ setting_up_container
network_check
update_os
fetch_and_deploy_from_url "https://packages.ntop.org/apt-stable/$(get_os_info codename)/all/apt-ntop-stable.deb" ""
NTOP_CODENAME="$(get_os_info codename)"
case "$NTOP_CODENAME" in
bookworm | trixie)
fetch_and_deploy_from_url "https://packages.ntop.org/apt/${NTOP_CODENAME}/all/apt-ntop.deb" ""
;;
*)
fetch_and_deploy_from_url "https://packages.ntop.org/apt-stable/${NTOP_CODENAME}/all/apt-ntop-stable.deb" ""
;;
esac
msg_info "Installing ntopng"
$STD apt update