mirror of
https://github.com/pi-hole/pi-hole
synced 2024-11-18 06:08:21 +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:
parent
c67f313ee8
commit
97447b2f3b
@ -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…
Reference in New Issue
Block a user