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>
pull/2602/head
DL6ER 5 years ago
parent 3cdd6204c5
commit de6dc90575
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

@ -2176,8 +2176,6 @@ FTLinstall() {
# If we downloaded binary file (as opposed to text),
if sha1sum --status --quiet -c "${binary}".sha1; then
printf "transferred... "
# Stop FTL
stop_service pihole-FTL &> /dev/null
# Install the new version with the correct permissions
install -T -m 0755 "${binary}" /usr/bin/pihole-FTL
# Move back into the original directory the user was in

Loading…
Cancel
Save