From 8f100b5e21897fff843e5115f78fd304642a85d5 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 6 Oct 2024 11:14:35 -0500 Subject: [PATCH] Update pihole-sync --- pihole-sync | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pihole-sync b/pihole-sync index b0001bf..c8b6944 100755 --- a/pihole-sync +++ b/pihole-sync @@ -51,13 +51,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)" ########################################################################### # CONSTANTS -if [ -f "/opt/my-pihole-sync/pihole-sync" ]; then - personal_git_dir='/opt/my-pihole-sync' -elif [ -f "/etc/pihole/my-pihole-sync/pihole-sync" ]; then - personal_git_dir='/etc/pihole/my-pihole-sync' -else - personal_git_dir='/usr/local/bin/my-pihole-sync' -fi +personal_git_dir='/usr/local/bin/kp-pihole-sync' git_branch="${GIT_BRANCH:-main}" pihole_dir="${PIHOLE_DIR:-/etc/pihole}" gravity_db="${GRAVITY_DB:-/etc/pihole/gravity.db}"