summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-12-27 20:33:57 +0100
committerErich Eckner <git@eckner.net>2019-12-27 20:33:57 +0100
commitf50b0e9f0f074024ef1e6cafbc749061379b0a05 (patch)
treeb6b137eacfc77472f0c14c49465e7356b2e13d7b
parent13944f176d869ff2bbe3296dadc2acc6980e4227 (diff)
downloaddevops-f50b0e9f0f074024ef1e6cafbc749061379b0a05.tar.xz
watch-versions: *-dummy and *-bootstrap should have the same logic
-rwxr-xr-xwatch-versions8
1 files changed, 2 insertions, 6 deletions
diff --git a/watch-versions b/watch-versions
index 3fd9f11..ac42c72 100755
--- a/watch-versions
+++ b/watch-versions
@@ -86,12 +86,8 @@ case "${pkgbase}" in
url='https://bootstrap.pypa.io/get-pip.py'
regex=' entire copy of pip (version \([0-9.]\+\))\.'
;;
- 'python-setuptools-bootstrap')
- url='https://github.com/pypa/setuptools/releases'
- regex='<a href="\/pypa\/setuptools\/releases\/tag\/v\([0-9.]\+\)">'
- ;;
- *'-dummy')
- rem_pkgbase="${pkgbase%-dummy}"
+ *'-dummy'|*'-bootstrap')
+ rem_pkgbase="${pkgbase%-*}"
rem_pkgbase="${rem_pkgbase//+/%2B}"
url='https://www.archlinux.org/packages/?q='"${rem_pkgbase}"
range='/^<div id="exact-matches"/,/^<\/div>/'