remove workaround, upstream is fixed
[buildscripts] / tor-browser
index 2c46a67161a05d29efb78556a04e83fb4c762539..69547ec31e77f08970e91104c6bfa1c087fc3713 100755 (executable)
@@ -21,7 +21,7 @@ trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?"' ERR
 # https://dist.torproject.org/torbrowser/
 
 ver=$(curl -s https://dist.torproject.org/torbrowser/ \
-          | sed -rn 's/.*href="([0-9]+\.[0-9]+\.[0-9]+).*/\1/p' \
+          | sed -rn 's/.*href="([0-9]+\.[0-9]+[.0-9]*)\/.*/\1/p' \
           | sort -Vr | head -n 1)