From df2c618bb6bca414e7c978e5e566360f57f9fb10 Mon Sep 17 00:00:00 2001 From: B Stack Date: Tue, 5 Jan 2021 08:12:34 -0500 Subject: ubo 1.16.4.27 --- ublock-origin-combined/build-orig-tarball.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ublock-origin-combined/build-orig-tarball.sh') diff --git a/ublock-origin-combined/build-orig-tarball.sh b/ublock-origin-combined/build-orig-tarball.sh index e804468..a3f3d61 100755 --- a/ublock-origin-combined/build-orig-tarball.sh +++ b/ublock-origin-combined/build-orig-tarball.sh @@ -59,7 +59,7 @@ show_xpi_for_latest_tag() { _url2="https://github.com$( echo "${_page1}" | grep -oE 'href=[^>]+\/tag\/[^>]+' | sort -n | tail -n1 | sed -r -e "s/^href=[\"']?//;" -e 's/"$//;' )" _page2="$( curl -s "${_url2}" )" #echo "${_page2}" - _asset="https://github.com$( echo "${_page2}" | sed -n '/Assets/,$p' ~/foo2 | grep -oE "href=.*\.xpi" | sed -r -e "s/^href=[\"']?//;" )" + _asset="https://github.com$( echo "${_page2}" | sed -n '/Assets/,$p' | grep -oE "href=.*\.xpi" | sed -r -e "s/^href=[\"']?//;" )" echo "${_asset}" } @@ -71,7 +71,7 @@ show_xpi_for_latest_tag() { ## 1. learn latest version file #url_contents="$( curl -s "${frontpageurl}" )" #latest_file="$( echo "${url_contents}" | awk -F'[=>]' '/class="btn".*>Download