mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-03 12:40:56 +00:00
Remove double echos
This commit is contained in:
parent
314f7e7889
commit
8fb6ba19a1
@ -171,11 +171,9 @@ getGitFiles() {
|
|||||||
echo ":::"
|
echo ":::"
|
||||||
echo "::: Checking for existing repository..."
|
echo "::: Checking for existing repository..."
|
||||||
if is_repo "${directory}"; then
|
if is_repo "${directory}"; then
|
||||||
echo -n "::: Updating repository in ${directory}..."
|
|
||||||
update_repo "${directory}" || { echo "*** Error: Could not update local repository. Contact support."; exit 1; }
|
update_repo "${directory}" || { echo "*** Error: Could not update local repository. Contact support."; exit 1; }
|
||||||
echo " done!"
|
echo " done!"
|
||||||
else
|
else
|
||||||
echo -n "::: Cloning ${remoteRepo} into ${directory}..."
|
|
||||||
make_repo "${directory}" "${remoteRepo}" || { echo "Unable to clone repository, please contact support"; exit 1; }
|
make_repo "${directory}" "${remoteRepo}" || { echo "Unable to clone repository, please contact support"; exit 1; }
|
||||||
echo " done!"
|
echo " done!"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user