mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-16 07:41:11 +02:00
ntopng: use ntop.org's documented apt repo per Debian codename, not always apt-stable (#16862)
This commit is contained in:
committed by
GitHub
parent
a03866e79a
commit
97c00113be
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user