From 7809ee386edeaca7976ca6f57684ac33426166e6 Mon Sep 17 00:00:00 2001 From: mospaeda Date: Fri, 20 Mar 2015 23:37:04 +0100 Subject: [PATCH] Update gravity-adv.sh --- gravity-adv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gravity-adv.sh b/gravity-adv.sh index 0df27ef8..2b9431bf 100755 --- a/gravity-adv.sh +++ b/gravity-adv.sh @@ -38,9 +38,9 @@ curl -A 'Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0' - # Add entries from the local blacklist file if it exists in /etc/pihole directory if [[ -f $blacklist ]];then echo "Getting the local blacklist from /etc/pihole directory" - cat /etc/pihole/blacklist.txt >> /tmp/matter.txt + cat $blacklist >> /tmp/matter.txt else - echo "No local blacklist.txt file available on /etc/pihole directory" + : fi # Sort the aggregated results and remove any duplicates