diff --git a/fragments/labels/wireshark.sh b/fragments/labels/wireshark.sh index 19725b8..d293dd8 100644 --- a/fragments/labels/wireshark.sh +++ b/fragments/labels/wireshark.sh @@ -6,6 +6,6 @@ wireshark) elif [[ $(arch) == arm64 ]]; then downloadURL="https://1.as.dl.wireshark.org/osx/Wireshark%20Latest%20Arm%2064.dmg" fi - appNewVersion=$(curl -fs https://www.wireshark.org/download.html | grep "Stable Release" | grep -o "(.*.)" | cut -f2 | head -1 | awk -F '[()]' '{print $2}') + appNewVersion=$(curl -fs https://www.wireshark.org/download.html | grep -i "href.*_stable" | sed -E 's/.*\(([0-9.]*)\).*/\1/g') expectedTeamID="7Z6EMTD2C6" ;;