|
|
@ -488,10 +488,6 @@ compareLists() {
|
|
|
|
# We assume here it was changed upstream
|
|
|
|
# We assume here it was changed upstream
|
|
|
|
database_adlist_status "${adlistID}" "1"
|
|
|
|
database_adlist_status "${adlistID}" "1"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# set owner of the file to pihole
|
|
|
|
|
|
|
|
chown pihole:pihole "${target}.sha1"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Download specified URL and perform checks on HTTP status and file content
|
|
|
|
# Download specified URL and perform checks on HTTP status and file content
|
|
|
@ -625,9 +621,6 @@ gravity_DownloadBlocklistFromUrl() {
|
|
|
|
database_adlist_status "${adlistID}" "4"
|
|
|
|
database_adlist_status "${adlistID}" "4"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# set owner of the file to pihole
|
|
|
|
|
|
|
|
chown pihole:pihole "${saveLocation}"
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Parse source files into domains format
|
|
|
|
# Parse source files into domains format
|
|
|
|