Source git repo and not /opt location.

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
Dan Schaper 2018-07-27 15:47:20 -07:00
parent ad20d5ac1c
commit 512d2dd5f8
No known key found for this signature in database
GPG key ID: B4FF14C01CC08DC0

View file

@ -2027,7 +2027,7 @@ FTLinstall() {
# 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 "${PI_HOLE_INSTALL_DIR}/advanced/Templates/pihole-FTL.conf" "/etc/pihole/pihole-FTL.conf" install -o "${USER}" -Dm644 "${PI_HOLE_LOCAL_REPO}/advanced/Templates/pihole-FTL.conf" "/etc/pihole/pihole-FTL.conf"
fi fi
local ftlBranch local ftlBranch