fix inteliJ IDEA complaints

pull/1437/head
Adam Warner 7 years ago
parent 41dd163453
commit 615ca56ea3
No known key found for this signature in database
GPG Key ID: 7C062498C7FA6E49

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

Loading…
Cancel
Save