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
1 changed files with 0 additions and 5 deletions

View File

@ -1671,11 +1671,6 @@ installPiholeWeb() {
# and the 404 handler # and the 404 handler
install -D -m 644 ${PI_HOLE_LOCAL_REPO}/advanced/index.php ${PI_HOLE_404_DIR}/ 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}" printf "%b %b %s\\n" "${OVER}" "${TICK}" "${str}"
local str="Backing up index.lighttpd.html" local str="Backing up index.lighttpd.html"