mirror of
https://gitlab.com/jarylc/docker-duoauthproxy.git
synced 2026-02-04 12:41:45 +00:00
escaped . in PYTHON_VERSION parsing just in case
This commit is contained in:
2
check.sh
2
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}"
|
||||
|
||||
Reference in New Issue
Block a user