1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

Fix mktmp > mktemp

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
Dan Schaper 2018-03-02 12:28:53 -08:00
parent 6011dd7372
commit 3425b9a82e
No known key found for this signature in database
GPG Key ID: B4FF14C01CC08DC0

View File

@ -1752,7 +1752,7 @@ FTLinstall() {
fi fi
# Move into the temp ftl directory # Move into the temp ftl directory
pushd "$(mktmp -d)" || { echo "Unable to make temporary directory for FTL binary download"; return 1; } pushd "$(mktemp -d)" || { echo "Unable to make temporary directory for FTL binary download"; return 1; }
# Always replace pihole-FTL.service # Always replace pihole-FTL.service
install -T -m 0755 "${PI_HOLE_LOCAL_REPO}/advanced/pihole-FTL.service" "/etc/init.d/pihole-FTL" install -T -m 0755 "${PI_HOLE_LOCAL_REPO}/advanced/pihole-FTL.service" "/etc/init.d/pihole-FTL"