mirror of
https://github.com/pi-hole/pi-hole
synced 2025-02-08 14:12:38 +00:00
Remove -t SOURCE and DIRECTORY reversal flag on install.
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
parent
b79ff05e29
commit
ad20d5ac1c
@ -2026,8 +2026,8 @@ FTLinstall() {
|
|||||||
install -T -m 0755 "${PI_HOLE_LOCAL_REPO}/advanced/Templates/pihole-FTL.service" "/etc/init.d/pihole-FTL"
|
install -T -m 0755 "${PI_HOLE_LOCAL_REPO}/advanced/Templates/pihole-FTL.service" "/etc/init.d/pihole-FTL"
|
||||||
|
|
||||||
# Install template if it does not exist
|
# Install template if it does not exist
|
||||||
if [[ ! -f /etc/pihole/pihole-FTL.conf ]]; then
|
if [[ ! -f "/etc/pihole/pihole-FTL.conf" ]]; then
|
||||||
install -o "${USER}" -Dm644 -t "${PI_HOLE_INSTALL_DIR}/advanced/Templates/pihole-FTL.conf" "/etc/pihole/pihole-FTL.conf"
|
install -o "${USER}" -Dm644 "${PI_HOLE_INSTALL_DIR}/advanced/Templates/pihole-FTL.conf" "/etc/pihole/pihole-FTL.conf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local ftlBranch
|
local ftlBranch
|
||||||
|
Loading…
Reference in New Issue
Block a user