From cda6fd1a8368bdde2ed371f735553d7c12c1c591 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 19 Oct 2016 22:05:45 +0200 Subject: checkVersions kann jetzt dropbox wirklich(er) --- checkVersions | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'checkVersions') 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||\n|g' | \ + grep '^[^<>]*New Stable Build: [0-9.-]\+$' | \ + sed 's|^[^<>]*New Stable Build: \([0-9.-]\+\)$|\1|' | \ sort -V | \ tail -n1 )" -- cgit v1.2.3-70-g09d2