From 49f611e470ec49e804432515699865e7ae011ca9 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 28 Nov 2022 21:15:55 -0600 Subject: [PATCH] Update pihole-sync --- pihole-sync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pihole-sync b/pihole-sync index d1c492b..2a3fb7d 100755 --- a/pihole-sync +++ b/pihole-sync @@ -34,7 +34,7 @@ update='December 26, 2020' # CONSTANTS if [ -f "/opt/my-pihole-sync/pihole-sync" ]; then personal_git_dir='/opt/my-pihole-sync' -else if [ -f "/mnt/data/etc-pihole/my-pihole-sync/pihole-sync" ]; then +elif [ -f "/mnt/data/etc-pihole/my-pihole-sync/pihole-sync" ]; then personal_git_dir='/mnt/data/etc-pihole/my-pihole-sync' else personal_git_dir='/usr/local/bin/my-pihole-sync'