From f7f9f5ac3dc8d0bf9739b14d0c8187952a68113c Mon Sep 17 00:00:00 2001 From: Gabe Date: Sun, 11 Oct 2026 22:33:10 +0000 Subject: [PATCH] Update Bash Scripts/Install_Programs.sh --- Bash Scripts/Install_Programs.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Bash Scripts/Install_Programs.sh b/Bash Scripts/Install_Programs.sh index c32ecf0..01cf08b 100644 --- a/Bash Scripts/Install_Programs.sh +++ b/Bash Scripts/Install_Programs.sh @@ -61,7 +61,7 @@ install_wireshark () { # apt asks via debconf whether non-root users may capture packets sudo apt install -y wireshark # Only matters if you answered "Yes" to that prompt - sudo usermod -aG wireshark "$USER" + sudo usermod -aG wireshark "$USER" || true echo "Log out and back in for the wireshark group to take effect." echo } @@ -130,8 +130,9 @@ install_angry_ip_scanner () { | grep '"tag_name"' \ | cut -d '"' -f4) if [ -z "$LATEST_TAG" ]; then - echo "❌ Failed to determine latest version" - exit 1 + echo "❌ Failed to determine latest version, skipping" + echo + return 0 fi VERSION="${LATEST_TAG#v}" DEB_FILE="ipscan_${VERSION}_${ARCH}.deb" @@ -211,8 +212,9 @@ install_balena_etcher () { | cut -d '"' -f4 \ | head -n1) if [ -z "$DEB_URL" ]; then - echo "❌ Failed to determine latest release" - exit 1 + echo "❌ Failed to determine latest release, skipping" + echo + return 0 fi DEB_FILE=$(basename "$DEB_URL") wget -q --show-progress -O "$WORKDIR/$DEB_FILE" "$DEB_URL"