mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Remove superseded index.js
Signed off by WaLLy3K <wally3k@pi-hole.net>
This commit is contained in:
parent
7884423e05
commit
a9ad8d67aa
1 changed files with 6 additions and 0 deletions
|
@ -1304,6 +1304,12 @@ installPiholeWeb() {
|
|||
install -d /var/www/html/pihole
|
||||
# and the blockpage
|
||||
install -D ${PI_HOLE_LOCAL_REPO}/advanced/{index,blockingpage}.* /var/www/html/pihole/
|
||||
|
||||
# Remove superseded file
|
||||
if [[ -e "/var/www/html/pihole/index.js" ]]; then
|
||||
rm "/var/www/html/pihole/index.js"
|
||||
fi
|
||||
|
||||
echo -e "${OVER} ${TICK} ${str}"
|
||||
|
||||
local str="Backing up index.lighttpd.html"
|
||||
|
|
Loading…
Reference in a new issue