diff options
author | Erich Eckner <git@eckner.net> | 2016-10-19 22:05:45 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-10-19 22:05:45 +0200 |
commit | cda6fd1a8368bdde2ed371f735553d7c12c1c591 (patch) | |
tree | 93aee2d059d36996e7260e23dffcf95cefdfc581 /checkVersions | |
parent | 9f1c65aac7ea09ecb71df962e36d732e0b2c846f (diff) | |
download | archlinuxewe-cda6fd1a8368bdde2ed371f735553d7c12c1c591.tar.xz |
checkVersions kann jetzt dropbox wirklich(er)
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/checkVersions b/checkVersions index a134f089f..9d1aa6bd3 100755 --- a/checkVersions +++ b/checkVersions @@ -108,11 +108,10 @@ then elif [ "${pkgname}" == "dropbox" ] then remVer="$( - curl "https://www.dropbox.com/release_notes" 2> /dev/null | \ - tr '\n/"' ' \n\n' | \ - grep -- '-Stable-Build-[0-9-]\+$' | \ - sed 's|^.*-Stable-Build-\([0-9-]\+\)$|\1|' | \ - tr '-' '.' | \ + curl "https://www.dropbox.com/release_notes/rss.xml" 2> /dev/null | \ + sed 's|</\?title>|\n|g' | \ + grep '^[^<>]*New Stable Build: [0-9.-]\+$' | \ + sed 's|^[^<>]*New Stable Build: \([0-9.-]\+\)$|\1|' | \ sort -V | \ tail -n1 )" |