mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-08 15:10:55 +00:00
Change when old configs are removed
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
parent
0e558e4c36
commit
e3ffec5762
@ -1224,8 +1224,7 @@ installScripts() {
|
||||
# Install the configs from PI_HOLE_LOCAL_REPO to their various locations
|
||||
installConfigs() {
|
||||
printf "\\n %b Installing configs from %s...\\n" "${INFO}" "${PI_HOLE_LOCAL_REPO}"
|
||||
# Make sure Pi-hole's config files are in place
|
||||
remove_old_dnsmasq_ftl_configs
|
||||
|
||||
|
||||
# Install list of DNS servers
|
||||
# Format: Name;Primary IPv4;Secondary IPv4;Primary IPv6;Secondary IPv6
|
||||
@ -1695,6 +1694,8 @@ installPihole() {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
remove_old_dnsmasq_ftl_configs
|
||||
|
||||
# Install config files
|
||||
if ! installConfigs; then
|
||||
printf " %b Failure in dependent config copy function.\\n" "${CROSS}"
|
||||
|
Loading…
Reference in New Issue
Block a user