]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
geoip-functions.pl: Adjust location_dir
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 12 Dec 2019 08:39:34 +0000 (09:39 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 12 Dec 2019 08:39:34 +0000 (09:39 +0100)
The data directory upstream has been moved to "/var/lib/location".

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/geoip-functions.pl

index e5322972773f04676c4f6417c01058afa5c82062..9bfa3b460124462e803fab20a37e9c1ddf1921d3 100644 (file)
@@ -41,7 +41,7 @@ my %not_iso_3166_location = (
 );
 
 # Directory where the libloc database and keyfile lives.
-our $location_dir = "/usr/share/location/";
+our $location_dir = "/var/lib/location/";
 
 # Libloc database file.
 our $database = "$location_dir/database.db";