From 3cb6ea503a1b8f17c077041a37976ebc05cc0e5d Mon Sep 17 00:00:00 2001 From: Michael Woolweaver Date: Tue, 1 Apr 2025 23:57:56 -0500 Subject: [PATCH] build `gravityDBfile_default` like the other variables seems this one was forgotten Signed-off-by: Michael Woolweaver --- gravity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity.sh b/gravity.sh index 493f2b15..824ba5e1 100755 --- a/gravity.sh +++ b/gravity.sh @@ -58,7 +58,7 @@ fi # Set this only after sourcing pihole-FTL.conf as the gravity database path may # have changed gravityDBfile="${GRAVITYDB}" -gravityDBfile_default="/etc/pihole/gravity.db" +gravityDBfile_default="${piholeDir}/gravity.db" gravityTEMPfile="${GRAVITYDB}_temp" gravityDIR="$(dirname -- "${gravityDBfile}")" gravityOLDfile="${gravityDIR}/gravity_old.db"