File gravity_database.patch of Package pi-hole

Index: pi-hole-6.4.2/gravity.sh
===================================================================
--- pi-hole-6.4.2.orig/gravity.sh
+++ pi-hole-6.4.2/gravity.sh
@@ -22,7 +22,7 @@ coltable="${PI_HOLE_SCRIPT_DIR}/COL_TABL
 # shellcheck source=./advanced/Scripts/COL_TABLE
 . "${coltable}"
 # shellcheck source=./advanced/Scripts/database_migration/gravity-db.sh
-. "/etc/.pihole/advanced/Scripts/database_migration/gravity-db.sh"
+. "/usr/share/pi-hole/database_migration/gravity-db.sh"
 
 basename="pihole"
 PIHOLE_COMMAND="/usr/bin/${basename}"
@@ -38,11 +38,11 @@ blacklistFile="${piholeDir}/blacklist.tx
 regexFile="${piholeDir}/regex.list"
 adListFile="${piholeDir}/adlists.list"
 
-piholeGitDir="/etc/.pihole"
+piholeGitDir="/usr/share/pi-hole"
 GRAVITYDB=$(getFTLConfigValue files.gravity)
 GRAVITY_TMPDIR=$(getFTLConfigValue files.gravity_tmp)
-gravityDBschema="${piholeGitDir}/advanced/Templates/gravity.db.sql"
-gravityDBcopy="${piholeGitDir}/advanced/Templates/gravity_copy.sql"
+gravityDBschema="${piholeGitDir}/database_migration/templates/gravity.db.sql"
+gravityDBcopy="${piholeGitDir}/database_migration/templates/gravity_copy.sql"
 
 domainsExtension="domains"
 curl_connect_timeout=10
Index: pi-hole-6.4.2/advanced/Scripts/database_migration/gravity-db.sh
===================================================================
--- pi-hole-6.4.2.orig/advanced/Scripts/database_migration/gravity-db.sh
+++ pi-hole-6.4.2/advanced/Scripts/database_migration/gravity-db.sh
@@ -10,7 +10,7 @@
 # This file is copyright under the latest version of the EUPL.
 # Please see LICENSE file for your rights under this license.
 
-readonly scriptPath="/etc/.pihole/advanced/Scripts/database_migration/gravity"
+readonly scriptPath="/usr/share/pi-hole/database_migration/gravity"
 
 upgrade_gravityDB(){
     local database version