mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-14 03:19:19 +00:00
Rename the only utilty function left that didn't say repo
This commit is contained in:
parent
3f61aea7fc
commit
c1a3f003e8
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ is_repo() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
prep_dirs() {
|
prep_repo() {
|
||||||
# Prepare directory for local repository building
|
# Prepare directory for local repository building
|
||||||
local directory="${1}"
|
local directory="${1}"
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ make_repo() {
|
||||||
local remoteRepo="${2}"
|
local remoteRepo="${2}"
|
||||||
local directory="${1}"
|
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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue