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:
parent
41dd163453
commit
615ca56ea3
@ -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…
Reference in New Issue
Block a user