store checked out FTL branch in /etc/pihole/ftlbranch

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

View file

@ -332,6 +332,7 @@ checkout() {
if check_download_exists "$path"; then
echo " ${TICK} Branch ${2} exists"
echo "${2}" > /etc/pihole/ftlbranch
FTLinstall "${binary}" "${path}"
else
echo " ${CROSS} Requested branch \"${2}\" is not available"