mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 16:52:05 -08:00
remove uBO asset fetcher
This commit is contained in:
parent
591f056478
commit
55d8776ae2
1 changed files with 0 additions and 20 deletions
|
|
@ -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!"
|
|
||||||
Loading…
Add table
Reference in a new issue