remove uBO asset fetcher

This commit is contained in:
oneflux 2025-04-21 18:37:00 -07:00
parent 591f056478
commit 55d8776ae2

View file

@ -1,20 +0,0 @@
#!/bin/sh
set -e
echo "update-ubo-assets.sh"
echo
# Download the LibreWolf uBOAssets.json
echo "-> Downloading LibreWolf uBOAssets.json"
assets=$(curl https://gitlab.com/librewolf-community/browser/source/-/raw/main/assets/uBOAssets.json)
# Remove specified filter lists
echo "-> Removing specified filter lists"
assets=$(echo "$assets" | jq 'del(.["ublock-badware"], .["urlhaus-1"], .["curben-phishing"])')
# Write the resulting json
echo "-> Writing to assets/uBOAssets.json"
echo $assets | jq . >./assets/uBOAssets.json
echo
echo "Done!"