mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-25 06:10:20 +00:00
Merge pull request #1532 from pi-hole/fix/tempfiles
Delete temporary files after installing the FTL binary. Fixes #1525
This commit is contained in:
commit
2b6709d83f
1 changed files with 1 additions and 0 deletions
|
@ -1277,6 +1277,7 @@ FTLinstall() {
|
|||
echo -n "transferred... "
|
||||
stop_service pihole-FTL &> /dev/null
|
||||
install -T -m 0755 /tmp/${binary} /usr/bin/pihole-FTL
|
||||
rm /tmp/${binary} /tmp/${binary}.sha1
|
||||
cd "${orig_dir}"
|
||||
install -T -m 0755 "${PI_HOLE_LOCAL_REPO}/advanced/pihole-FTL.service" "/etc/init.d/pihole-FTL"
|
||||
echo "done."
|
||||
|
|
Loading…
Reference in a new issue