mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
Silence sha check
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
parent
cde7b53de3
commit
6023984703
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue