1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-18 06:08:21 +00:00

fix inteliJ IDEA complaints

This commit is contained in:
Adam Warner 2017-05-05 22:27:58 +01:00
parent 41dd163453
commit 615ca56ea3
No known key found for this signature in database
GPG Key ID: 7C062498C7FA6E49

View File

@ -875,13 +875,13 @@ installPiholeWeb() {
if [ -d "/var/www/html/pihole" ]; then
if [[ ${CUSTOMBLOCKPAGE} == false ]]; then
echo -n "::: Installing block page..."
install -D ${PI_HOLE_LOCAL_REPO}/advanced/{index,blockingpage}.* /var/www/html/pihole/
install -D ${PI_HOLE_LOCAL_REPO}/advanced/index.* /advanced/blockingpage.* /var/www/html/pihole/
echo " done!"
fi
else
echo "::: Creating directory for blocking page"
install -d /var/www/html/pihole
install -D ${PI_HOLE_LOCAL_REPO}/advanced/{index,blockingpage}.* /var/www/html/pihole/
install -D ${PI_HOLE_LOCAL_REPO}/advanced/index.* /advanced/blockingpage.* /var/www/html/pihole/
if [ -f /var/www/html/index.lighttpd.html ]; then
mv /var/www/html/index.lighttpd.html /var/www/html/index.lighttpd.orig
else