mirror of
https://github.com/pi-hole/pi-hole
synced 2024-11-17 21:59:55 +00:00
Rename the only utilty function left that didn't say repo
This commit is contained in:
parent
3f61aea7fc
commit
c1a3f003e8
@ -27,7 +27,7 @@ is_repo() {
|
||||
return
|
||||
}
|
||||
|
||||
prep_dirs() {
|
||||
prep_repo() {
|
||||
# Prepare directory for local repository building
|
||||
local directory="${1}"
|
||||
|
||||
@ -40,7 +40,7 @@ make_repo() {
|
||||
local remoteRepo="${2}"
|
||||
local directory="${1}"
|
||||
|
||||
(prep_dirs "${directory}" && git clone -q --depth 1 "${remoteRepo}" "${directory}" > /dev/null)
|
||||
(prep_repo "${directory}" && git clone -q --depth 1 "${remoteRepo}" "${directory}" > /dev/null)
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user