Remove blockingpage.css

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2022-07-26 23:57:07 +02:00 committed by Adam Warner
parent 5816f495f4
commit 6c9bd7a632
No known key found for this signature in database
GPG key ID: 872950F3ECF2B173
2 changed files with 2 additions and 457 deletions

View file

@ -1672,8 +1672,8 @@ installPiholeWeb() {
install -D -m 644 ${PI_HOLE_LOCAL_REPO}/advanced/index.php ${PI_HOLE_404_DIR}/
# Remove superseded file
if [[ -e "${PI_HOLE_404_DIR}/index.js" ]]; then
rm "${PI_HOLE_404_DIR}/index.js"
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}"