mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-03 12:40:56 +00:00
Fix broken whitelist functionality
This commit is contained in:
parent
ee2169dd13
commit
2deb2bf03f
@ -631,8 +631,8 @@ fi
|
|||||||
|
|
||||||
gravity_ShowBlockCount
|
gravity_ShowBlockCount
|
||||||
|
|
||||||
# Perform when downloading blocklists, or modifying the blacklist
|
# Perform when downloading blocklists, or modifying the white/blacklist (not wildcards)
|
||||||
if [[ "${skipDownload}" == false ]] || [[ "${listType}" == "blacklist" ]]; then
|
if [[ "${skipDownload}" == false ]] || [[ "${listType}" == *"list" ]]; then
|
||||||
str="Parsing domains into hosts format"
|
str="Parsing domains into hosts format"
|
||||||
echo -ne " ${INFO} ${str}..."
|
echo -ne " ${INFO} ${str}..."
|
||||||
|
|
||||||
@ -645,10 +645,7 @@ if [[ "${skipDownload}" == false ]] || [[ "${listType}" == "blacklist" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "${OVER} ${TICK} ${str}"
|
echo -e "${OVER} ${TICK} ${str}"
|
||||||
fi
|
|
||||||
|
|
||||||
# Perform when downloading blocklists
|
|
||||||
if [[ "${skipDownload}" == false ]]; then
|
|
||||||
gravity_Cleanup
|
gravity_Cleanup
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user