From a7fa7466fb59d3af2f643abc76c50c752652ffea Mon Sep 17 00:00:00 2001 From: Promofaux Date: Wed, 19 Oct 2016 23:54:43 +0100 Subject: [PATCH] remove no longer needed code --- gravity.sh | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/gravity.sh b/gravity.sh index b525e936..a5e7c047 100755 --- a/gravity.sh +++ b/gravity.sh @@ -97,20 +97,6 @@ gravity_collapse() { done < ${adListDefault} echo " done!" fi - - # Create the pihole resource directory if it doesn't exist. Future files will be stored here - if [[ -d ${piholeDir} ]];then - # Temporary hack to allow non-root access to pihole directory - # Will update later, needed for existing installs, new installs should - # create this directory as non-root - chmod 777 ${piholeDir} - echo ":::" - echo "::: Existing pihole directory found" - else - echo "::: Creating pihole directory..." - mkdir ${piholeDir} - chmod 777 ${piholeDir} - fi } # patternCheck - check to see if curl downloaded any new files.