summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-02-20 15:15:19 +0100
committerErich Eckner <git@eckner.net>2017-02-20 15:15:19 +0100
commit8d3a0fa8bd148d28e8826e17d9a49f15952b3782 (patch)
tree026ddf09c7a32ecbca0fbc10ffabd289e2aefce6 /checkVersions
parenta6f0dc0ba2b4d19b0b3e4d4399ef68728ea64e1f (diff)
downloadarchlinuxewe-8d3a0fa8bd148d28e8826e17d9a49f15952b3782.tar.xz
checkVersions ignoriert jetzt conky Version *.999
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions12
1 files changed, 10 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions
index 47f651930..5fbb113e6 100755
--- a/checkVersions
+++ b/checkVersions
@@ -325,8 +325,16 @@ then
remVer=$( \
curl "${quVer}" 2> /dev/null | \
tr "\"" "\n" | \
- grep "^${quNam}[0-9.]\+\$" | \
- sed "s|^${quNam}||" | \
+ grep "^${quNam}v\?[0-9.]\+\$" | \
+ sed "s|^${quNam}v\?||" | \
+ (
+ if [ "${pkgname}" == "conky" ]
+ then
+ grep -v '\.999$'
+ else
+ cat
+ fi
+ ) | \
sort -V | \
tail -n1 \
)