don't forget master and development branches!

Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
Adam Warner 2018-03-07 21:48:09 +00:00
parent 246d5cd587
commit 76cb129d3c
No known key found for this signature in database
GPG key ID: F5410858022DA5EB

View file

@ -256,6 +256,7 @@ checkout() {
get_binary_name
local path
path="development/${binary}"
echo "development" > /etc/pihole/ftlbranch
FTLinstall "${binary}" "${path}"
elif [[ "${1}" == "master" ]] ; then
# Shortcut to check out master branches
@ -270,6 +271,7 @@ checkout() {
get_binary_name
local path
path="master/${binary}"
echo "master" > /etc/pihole/ftlbranch
FTLinstall "${binary}" "${path}"
elif [[ "${1}" == "core" ]] ; then
str="Fetching branches from ${piholeGitUrl}"