diff options
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 )" |