summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-16 16:12:16 +0100
committerErich Eckner <git@eckner.net>2018-11-16 16:12:16 +0100
commit947b105df31cf1b093745d03171ea8c774a383b0 (patch)
tree114d9bb33126655b65b261f35116e2d07c1b506e
parent49cc7a1d45df99b9c49d02d1480d61db86394b9e (diff)
downloadarchlinuxewe-947b105df31cf1b093745d03171ea8c774a383b0.tar.xz
checkVersions: learn new dropbox source url format
-rwxr-xr-xcheckVersions7
1 files 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
)