1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 04:49:12 +02:00

Let uBOL-home pick the uBO version

This commit is contained in:
Raymond Hill 2023-08-25 11:17:15 -04:00
parent 1fc4232ece
commit eeafae12b0
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -44,10 +44,7 @@ mkdir -p $DES/css/fonts
mkdir -p $DES/js
mkdir -p $DES/img
if [ "$UBO_VERSION" != "HEAD" ]; then
cp platform/mv3/ubo-version $DES/
UBO_VERSION_URL=$(cat platform/mv3/ubo-version)
UBO_VERSION="${UBO_VERSION_URL: -40}"
if [ -n "$UBO_VERSION" ]; then
UBO_REPO="https://github.com/gorhill/uBlock.git"
UBO_DIR=$(mktemp -d)
echo "*** uBOLite.mv3: Fetching uBO $UBO_VERSION from $UBO_REPO into $UBO_DIR"