Update pihole-sync

This commit is contained in:
2022-11-28 21:15:55 -06:00
parent c63e611eb8
commit 49f611e470

View File

@@ -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'