diff options
author | Erich Eckner <git@eckner.net> | 2017-02-20 15:15:19 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-02-20 15:15:19 +0100 |
commit | 8d3a0fa8bd148d28e8826e17d9a49f15952b3782 (patch) | |
tree | 026ddf09c7a32ecbca0fbc10ffabd289e2aefce6 | |
parent | a6f0dc0ba2b4d19b0b3e4d4399ef68728ea64e1f (diff) | |
download | archlinuxewe-8d3a0fa8bd148d28e8826e17d9a49f15952b3782.tar.xz |
checkVersions ignoriert jetzt conky Version *.999
-rwxr-xr-x | checkVersions | 12 |
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 \ ) |