From 7abd85b0f93f3ccd7e0aad650b9adfe22f7c0ac2 Mon Sep 17 00:00:00 2001 From: MickLesk Date: Sat, 15 Aug 2026 23:28:27 +0200 Subject: [PATCH] ntopng: use fetch_and_deploy_from_url for the ntop repo package Replaces the manual curl + apt install + rm dance with the core helper, which handles download failures, the dpkg fallback and deb diagnostics. apt update folded into the install block. --- install/ntopng-install.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/install/ntopng-install.sh b/install/ntopng-install.sh index 10921d52a..6538e004e 100644 --- a/install/ntopng-install.sh +++ b/install/ntopng-install.sh @@ -13,14 +13,10 @@ setting_up_container network_check update_os -msg_info "Adding ntop Repository" -curl -fsSL "https://packages.ntop.org/apt-stable/$(get_os_info codename)/all/apt-ntop-stable.deb" -o /tmp/apt-ntop-stable.deb -$STD apt install -y /tmp/apt-ntop-stable.deb -rm -f /tmp/apt-ntop-stable.deb -$STD apt update -msg_ok "Added ntop Repository" +fetch_and_deploy_from_url "https://packages.ntop.org/apt-stable/$(get_os_info codename)/all/apt-ntop-stable.deb" "" msg_info "Installing ntopng" +$STD apt update $STD apt install -y ntopng msg_ok "Installed ntopng"