Silence sha check

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
pull/1244/head
Dan Schaper 7 years ago
parent cde7b53de3
commit 6023984703
No known key found for this signature in database
GPG Key ID: 572E999E385B7BFC

@ -1169,7 +1169,7 @@ FTLinstall() {
# Get sha1 of the binary we just downloaded for verification.
curl -sSL --fail "https://github.com/pi-hole/FTL/releases/download/${latesttag%$'\r'}/${binary}.sha1" -o "/tmp/${binary}.sha1"
# Check if we just downloaded text, or a binary file.
if sha1sum -c /tmp/"${binary}".sha1 /tmp/"${binary}"; then
if sha1sum -c /tmp/"${binary}".sha1 /tmp/"${binary}" &> /dev/null; then
echo -n "transferred... "
install -m 0755 /tmp/pihole-FTL /usr/bin
touch /var/log/pihole-FTL.log /var/run/pihole-FTL.pid /var/run/pihole-FTL.port

Loading…
Cancel
Save