summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-28 09:38:28 +0200
committerErich Eckner <git@eckner.net>2016-04-28 09:38:28 +0200
commite5db48e484742fe894d7b1e7a2c407cbeac1ac8f (patch)
tree63cd6c5c40a762a53fbfc8ea741fc93d76768360
parent0bec69c0674558968a28903af5520ae21c84eac1 (diff)
downloadarchlinuxewe-e5db48e484742fe894d7b1e7a2c407cbeac1ac8f.tar.xz
checkVersions nimmt für eigene Pakete nun den richtigen Namen
-rwxr-xr-xcheckVersions5
1 files changed, 3 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions
index 73bd8421d..d8ab59824 100755
--- a/checkVersions
+++ b/checkVersions
@@ -136,14 +136,15 @@ then
then
qu=${src#*::}
qu=${qu%-*}
+ quNam=${qu#*=}
remVer=$( \
curl -o - "$(\
echo "${qu}" | \
sed "s|\?dl=|?ls=|" \
)" 2> /dev/null | \
tr "<>" "\n\n" | \
- grep "^${pkgname}-" | \
- sed "s|^${pkgname}-||" | \
+ grep "^${quNam}-" | \
+ sed "s|^${quNam}-||" | \
sort -V | \
tail -n1 \
)