This will probably break some tests. I'll work that out in a bit
Signed-off-by: Adam Warner <adamw@rner.email>
Signed-off-by: Adam Warner <adamw@rner.email>
echo -e "${COL_LIGHT_RED}Error: Unable to get latest release location from GitHub${COL_NC}"
return1
fi
# If the download worked,
if curl -sSL --fail "https://github.com/pi-hole/FTL/releases/download/${latesttag%$'\r'}/${binary}" -o "/tmp/${binary}";then
# get sha1 of the binary we just downloaded for verification.
@ -1879,9 +1880,26 @@ FTLdetect() {
binary="pihole-FTL-linux-x86_32"
fi
# Install FTL
FTLinstall "${binary}"||return1
#In the next section we check to see if FTL is already installed (in case of pihole -r).
#If the installed version matches the latest version, then check the installed sha1sum of the binary vs the remote sha1sum. If they do not match, then download