1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-18 14:18:15 +00:00

Do not remove blockingpage.css from existing installations as some users might use them for custom.php

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2022-07-27 00:32:50 +02:00 committed by Adam Warner
parent c67f313ee8
commit 97447b2f3b
No known key found for this signature in database
GPG Key ID: 872950F3ECF2B173

View File

@ -1671,11 +1671,6 @@ installPiholeWeb() {
# and the 404 handler
install -D -m 644 ${PI_HOLE_LOCAL_REPO}/advanced/index.php ${PI_HOLE_404_DIR}/
# Remove superseded file
if [[ -e "${PI_HOLE_404_DIR}/blockingpage.css" ]]; then
rm "${PI_HOLE_404_DIR}/blockingpage.css"
fi
printf "%b %b %s\\n" "${OVER}" "${TICK}" "${str}"
local str="Backing up index.lighttpd.html"