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"