Skip to content

Commit

Permalink
Change when old configs are removed
Browse files Browse the repository at this point in the history
  • Loading branch information
PromoFaux committed Jan 13, 2023
1 parent fced880 commit 077b677
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions automated install/basic-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1226,8 +1226,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
Expand Down Expand Up @@ -1697,6 +1696,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}"
Expand Down

0 comments on commit 077b677

Please sign in to comment.