Update pihole-sync

This commit is contained in:
2021-06-04 22:02:10 -05:00
parent 657801b9ac
commit d3cc983932

View File

@@ -32,7 +32,12 @@ update='December 26, 2020'
# Project Home: https://github.com/stevejenkins/pihole-cloudsync
###########################################################################
# CONSTANTS
personal_git_dir='/usr/local/bin/my-pihole-sync'
if [ -d "/opt/docker-pi-hole/etc-pihole" ]; then
personal_git_dir='/opt/my-pihole-sync'
else
personal_git_dir='/usr/local/bin/my-pihole-sync'
fi
# if [ -d "/opt/docker-pi-hole/etc-pihole" ]; then
# pihole_dir='/opt/docker-pi-hole/etc-pihole'