From ad20d5ac1c696a9a54a22ccd0c1992f30e4043ac Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Fri, 27 Jul 2018 15:39:37 -0700 Subject: [PATCH] Remove -t SOURCE and DIRECTORY reversal flag on install. Signed-off-by: Dan Schaper --- automated install/basic-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 45954693..85703e4d 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -2026,8 +2026,8 @@ FTLinstall() { 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 - 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" + if [[ ! -f "/etc/pihole/pihole-FTL.conf" ]]; then + install -o "${USER}" -Dm644 "${PI_HOLE_INSTALL_DIR}/advanced/Templates/pihole-FTL.conf" "/etc/pihole/pihole-FTL.conf" fi local ftlBranch