diff --git a/check.sh b/check.sh index 7f10612..05d4a52 100755 --- a/check.sh +++ b/check.sh @@ -13,7 +13,7 @@ else INFO=$(curl https://duo.com/docs/checksums | grep 'https://dl.duosecurity.com/duoauthproxy' | grep 'src.tgz' | rev | cut -d'>' -f1 | rev) CHECKSUM=$(echo "$INFO" | cut -d' ' -f1) LATEST=$(echo "$INFO" | cut -d'-' -f2) - PYTHON_VERSION=$(curl https://duo.com/docs/authproxy-notes | grep -Eo 'Python to \d+.\d+.\d+' | head -n1 | rev | cut -d' ' -f1 | rev) + PYTHON_VERSION=$(curl https://duo.com/docs/authproxy-notes | grep -Eo 'Python to \d+\.\d+\.\d+' | head -n1 | rev | cut -d' ' -f1 | rev) echo "Latest: ${LATEST}" echo "Checksum: ${CHECKSUM}" echo "Python Version: ${PYTHON_VERSION}"