diff options
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions index 2ba803fa..1b4bf6e2 100755 --- a/checkVersions +++ b/checkVersions @@ -179,8 +179,8 @@ then remVer="$( curl -o - "${qu}" 2> /dev/null | \ tr "\"" "\n" | \ - grep "^/pypi/${pkgname#*-}/[0-9.-]\+\$" | \ - sed "s|^/pypi/${pkgname#*-}/\([0-9.-]\+\)\$|\1|" | \ + grep "^/pypi/\(python-\)\?${pkgname#*-}/[0-9.-]\+\$" | \ + sed "s|^/pypi/\(python-\)\?${pkgname#*-}/\([0-9.-]\+\)\$|\2|" | \ sort -V | \ tail -n1 )" |