mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-07-28 08:04:11 +02:00
Add small note about modifiedOptions
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
parent
774037834b
commit
76e41aeefa
@ -601,8 +601,10 @@ compareLists() {
|
||||
# Download specified URL and perform checks on HTTP status and file content
|
||||
gravity_DownloadBlocklistFromUrl() {
|
||||
local url="${1}" adlistID="${2}" saveLocation="${3}" target="${4}" compression="${5}" gravity_type="${6}" domain="${7}"
|
||||
local modifiedOptions=() listCurlBuffer str httpCode success="" ip customUpstreamResolver
|
||||
local listCurlBuffer str httpCode success="" ip customUpstreamResolver
|
||||
local file_path permissions ip_addr port blocked=false download=true
|
||||
# modifiedOptions is an array to store all the options used to check if the adlist has been changed upstream
|
||||
local modifiedOptions=()
|
||||
|
||||
# Create temp file to store content on disk instead of RAM
|
||||
# We don't use '--suffix' here because not all implementations of mktemp support it, e.g. on Alpine
|
||||
|
Loading…
x
Reference in New Issue
Block a user