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>
pull/3910/head
Christian König 2 years ago committed by Adam Warner
parent c67f313ee8
commit 97447b2f3b
No known key found for this signature in database
GPG Key ID: 872950F3ECF2B173

@ -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"

Loading…
Cancel
Save