Update pihole-sync

This commit is contained in:
2024-10-06 11:14:35 -05:00
parent f8e98253e5
commit 8f100b5e21

View File

@@ -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}"