mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
fix inteliJ IDEA complaints
This commit is contained in:
parent
41dd163453
commit
615ca56ea3
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue