mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-03-04 15:58:27 +00:00
Use better function name
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
parent
49cf5bb221
commit
dfc2b32248
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue