From d3f11cd79673979149d0fd0f378af635607876b8 Mon Sep 17 00:00:00 2001 From: MillerUk Date: Mon, 11 Aug 2025 21:53:35 +0000 Subject: [PATCH] Blocklist update 2025-08-11 21:53:34 --- script.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/script.sh b/script.sh index d139b4d..8c87952 100755 --- a/script.sh +++ b/script.sh @@ -1,8 +1,7 @@ #!/bin/bash - # Navigate to blocklist directory -cd /home/adguard-filter-list/ || { echo "Directory not found: ./data/blocklist/"; exit 1; } +cd /home/adguard-filter-list/ # Make sure we have latest repo git pull @@ -12,7 +11,7 @@ oisd_url="https://big.oisd.nl" oisd_file="../oisd.txt" echo "Downloading oisd.txt from $oisd_url..." -wget -q -O $oisd_file $oisd_url +curl $oisd_url -o $oisd_file # Verify the download @@ -23,8 +22,6 @@ else echo "Successfully downloaded $oisd_file" fi -cd /opt/adguard-filter-list/ - # Create compiled blocklist time /usr/local/bin/hostlist-compiler -v -c hostlist-compiler-config.json -o blocklist