summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-08-26 12:43:52 +0200
committerErich Eckner <git@eckner.net>2016-08-26 12:43:52 +0200
commit709c8db17224d73796487ac37f2d50bd54599ae9 (patch)
tree1fa0f5eea042e3188c1a064954a10aa2233c8fa1
parent68c61d4d07f10be3c1917e5a86fcd4365e9b9713 (diff)
downloadarchlinuxewe-709c8db17224d73796487ac37f2d50bd54599ae9.tar.xz
checkVersions kann jetzt mehr python
-rwxr-xr-xcheckVersions4
1 files changed, 2 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions
index 2ba803fa3..1b4bf6e25 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
)"