mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-25 06:10:20 +00:00
Update automated install/basic-install.sh
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br> Signed-off-by: Adam Warner <github@adamwarner.co.uk>
This commit is contained in:
parent
c39cb8cfe0
commit
001f2012a2
1 changed files with 1 additions and 3 deletions
|
@ -1009,9 +1009,7 @@ remove_old_pihole_lighttpd_configs() {
|
|||
|
||||
|
||||
if [[ -d "/etc/lighttpd/conf.d" ]]; then
|
||||
if grep -q -F 'include "/etc/lighttpd/conf.d/pihole-admin.conf"' "${lighttpdConfig}"; then
|
||||
sed -i '/include "\/etc\/lighttpd\/conf.d\/pihole-admin.conf"/d' "${lighttpdConfig}"
|
||||
fi
|
||||
|
||||
if [[ -f "${condfd}" ]]; then
|
||||
rm "${condfd}"
|
||||
|
|
Loading…
Reference in a new issue