mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-08 00:20:37 +00:00
Clone depth 1 so we only grab the latest layer of the repo and not the whole history. Be nice!
This commit is contained in:
parent
763c310778
commit
3163fece31
1 changed files with 1 additions and 1 deletions
|
@ -678,7 +678,7 @@ make_repo() {
|
||||||
# Remove the non-repod interface and clone the interface
|
# Remove the non-repod interface and clone the interface
|
||||||
echo -n "::: Cloning $2 into $1..."
|
echo -n "::: Cloning $2 into $1..."
|
||||||
${SUDO} rm -rf "$1"
|
${SUDO} rm -rf "$1"
|
||||||
${SUDO} git clone -q "$2" "$1" > /dev/null & spinner $!
|
${SUDO} git clone --depth 1 -q "$2" "$1" > /dev/null & spinner $!
|
||||||
echo " done!"
|
echo " done!"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue