Sign Up
Log In
Sign Up
Username:
*
Email:
*
Password:
*
Password confirmation:
*
or
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Web
pi-hole
gravity_database.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gravity_database.patch of Package pi-hole
Index: pi-hole-5.14.2/gravity.sh =================================================================== --- pi-hole-5.14.2.orig/gravity.sh +++ pi-hole-5.14.2/gravity.sh @@ -16,7 +16,7 @@ export LC_ALL=C coltable="/usr/share/pi-hole/COL_TABLE" source "${coltable}" # shellcheck disable=SC1091 -source "/etc/.pihole/advanced/Scripts/database_migration/gravity-db.sh" +source "/usr/share/pi-hole/database_migration/gravity-db.sh" basename="pihole" PIHOLE_COMMAND="/usr/bin/${basename}" @@ -32,12 +32,12 @@ adListFile="${piholeDir}/adlists.list" localList="${piholeDir}/local.list" VPNList="/etc/openvpn/ipp.txt" -piholeGitDir="/etc/.pihole" +piholeGitDir="/usr/share/pi-hole" gravityDBfile_default="${piholeDir}/gravity.db" # GRAVITYDB may be overwritten by source pihole-FTL.conf below GRAVITYDB="${gravityDBfile_default}" -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-5.14.2/advanced/Scripts/database_migration/gravity-db.sh =================================================================== --- pi-hole-5.14.2.orig/advanced/Scripts/database_migration/gravity-db.sh +++ pi-hole-5.14.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 piholeDir auditFile version
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor