build auto-update

This commit is contained in:
Zelo72 2021-10-21 22:44:12 +02:00
parent 162316bbf7
commit 89760a9f71
2 changed files with 432 additions and 275 deletions

File diff suppressed because it is too large Load Diff

View File

@ -528,7 +528,7 @@ echo ""
cat <"$white" >>"$domains".whitelist.adblock
fi
getDomainsFromList "$whitelists" "$domains".whitelist.adblock 0 0
convertWhiteToAdblock "$domains".whitelist.adblock "$outdir"/"$name".white.adblock
convertWhiteToAdblock "$domains".whitelist.adblock "$sourcedir"/exceptions.txt
rm -f "$domains".whitelist.adblock
fi
@ -544,6 +544,15 @@ echo ""
printDecCount
fi
# Remove dead Domains
getDomainsFromList "$deadlists" "$domains".deadlist 0 0
if [ -s "$domains".deadlist ]; then
echo -n "-- Dead: "
removeDomains "$domains".deadlist "$domains"
printDecCount
fi
# Add prioritized blocked Domains
if [ -s "$block" ]; then
cat <"$block" >>"$domains".prioblocklist
@ -579,15 +588,6 @@ echo ""
printDecCount
fi
# Remove dead Domains
getDomainsFromList "$deadlists" "$domains".deadlist 0 0
if [ -s "$domains".deadlist ]; then
echo -n "-- Dead: "
removeDomains "$domains".deadlist "$domains"
printDecCount
fi
# Extend by missing WWW/FLD Domains
if inConfig "extendWWWFLD"; then
if inConfig "white"; then