Update pihole-sync
This commit is contained in:
@@ -157,7 +157,7 @@ pull () {
|
|||||||
|
|
||||||
# Update local Git repo from remote Git repo
|
# Update local Git repo from remote Git repo
|
||||||
git remote update > /dev/null
|
git remote update > /dev/null
|
||||||
CHANGED=$(git log HEAD..origin/master --oneline)
|
CHANGED=$(git log HEAD..origin/main --oneline)
|
||||||
if [ -n "${CHANGED}" ]; then
|
if [ -n "${CHANGED}" ]; then
|
||||||
echo 'Remote Git repo is different than local Pi-hole lists. Updating local lists...';
|
echo 'Remote Git repo is different than local Pi-hole lists. Updating local lists...';
|
||||||
# Remove -q option if you don't want to run in "quiet" mode
|
# Remove -q option if you don't want to run in "quiet" mode
|
||||||
|
|||||||
Reference in New Issue
Block a user