summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheckVersions5
1 files changed, 3 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions
index 73bd8421..d8ab5982 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 \
)