Use better function name

Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
Christian König 2025-02-06 21:55:08 +01:00
parent 49cf5bb221
commit dfc2b32248
No known key found for this signature in database

View file

@ -1907,7 +1907,7 @@ checkout_pull_branch() {
return 0 return 0
} }
clone_or_update_repos() { clone_or_reset_repos() {
# If the user wants to repair/update, # If the user wants to repair/update,
if [[ "${repair}" == true ]]; then if [[ "${repair}" == true ]]; then
printf " %b Resetting local repos\\n" "${INFO}" printf " %b Resetting local repos\\n" "${INFO}"
@ -2469,8 +2469,8 @@ main() {
# Setup adlist file if not exists # Setup adlist file if not exists
installDefaultBlocklists installDefaultBlocklists
fi fi
# Download or update the scripts by updating the appropriate git repos # Download or reset the appropriate git repos depending on the 'repair' flag
clone_or_update_repos clone_or_reset_repos
# Create the pihole user # Create the pihole user