mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 14:58:08 +00:00
Don't diable pihole-FTL before calling install. root should be able to overwrite the binary in any case. The binary has already been downloaded and hash-verified here so we don't expect any errors in this binary.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
3cdd6204c5
commit
de6dc90575
@ -2176,8 +2176,6 @@ FTLinstall() {
|
|||||||
# If we downloaded binary file (as opposed to text),
|
# If we downloaded binary file (as opposed to text),
|
||||||
if sha1sum --status --quiet -c "${binary}".sha1; then
|
if sha1sum --status --quiet -c "${binary}".sha1; then
|
||||||
printf "transferred... "
|
printf "transferred... "
|
||||||
# Stop FTL
|
|
||||||
stop_service pihole-FTL &> /dev/null
|
|
||||||
# Install the new version with the correct permissions
|
# Install the new version with the correct permissions
|
||||||
install -T -m 0755 "${binary}" /usr/bin/pihole-FTL
|
install -T -m 0755 "${binary}" /usr/bin/pihole-FTL
|
||||||
# Move back into the original directory the user was in
|
# Move back into the original directory the user was in
|
||||||
|
Loading…
Reference in New Issue
Block a user