From 947b105df31cf1b093745d03171ea8c774a383b0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 16 Nov 2018 16:12:16 +0100 Subject: checkVersions: learn new dropbox source url format --- checkVersions | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/checkVersions b/checkVersions index fdea41f42..4737dff6b 100755 --- a/checkVersions +++ b/checkVersions @@ -185,8 +185,11 @@ then remVer=$( curl_it 'https://www.dropboxforum.com/t5/Desktop-client-builds/bd-p/101003016' | \ tr '<>' '\n' | \ - grep '^Stable Build [0-9.-]\+$' | \ - sed 's|^Stable Build \([0-9.-]\+\)$|\1|' | \ + sed ' + s/^\s*Stable Build \([0-9.-]\+\)\s*$/\1/ + t + d + ' | \ sort -V | \ tail -n1 ) -- cgit v1.2.3-70-g09d2