diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index a0b37a9c..3aa2c4bf 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -1807,6 +1807,12 @@ clone_or_reset_repos() { # If the user wants to repair/update, if [[ "${repair}" == true ]]; then printf " %b Resetting local repos\\n" "${INFO}" + + # import getFTLConfigValue from utils.sh + source "/opt/pihole/utils.sh" + # Use the configured Web repo location on repair/update + webInterfaceDir=$(getFTLConfigValue "webserver.paths.webroot")$(getFTLConfigValue "webserver.paths.webhome") + # Reset the Core repo resetRepo ${PI_HOLE_LOCAL_REPO} || {