[mirrorbrain-commits] r7699 - trunk/tools

From: <poeml_at_mirrorbrain.org>
Date: Tue, 14 Jul 2009 00:12:35 +0200
Author: poeml
Date: Tue Jul 14 00:12:35 2009
New Revision: 7699
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?view=revision&revision=7699

Log:
geoiplookup_city and geoiplookup_continent tools:
- open database file in /var/lib/GeoIP/, which is the FHS correct location and 
  the place where the database was moved recently on openSUSE

Modified:
   trunk/tools/geoiplookup_city.c
   trunk/tools/geoiplookup_continent.c

Modified: trunk/tools/geoiplookup_city.c
==============================================================================
--- trunk/tools/geoiplookup_city.c	Tue Jul 14 00:00:15 2009	(r7698)
+++ trunk/tools/geoiplookup_city.c	Tue Jul 14 00:12:35 2009	(r7699)
@@ -27,7 +27,7 @@
 #include <GeoIP.h>
 #include <GeoIPCity.h>
 
-#define DEFAULT_GEOIPFILE "/usr/share/GeoIP/GeoLiteCity.dat"
+#define DEFAULT_GEOIPFILE "/var/lib/GeoIP/GeoLiteCity.dat"
 
 int main(int argc, char **argv) {
 	const char *geoipfilename = DEFAULT_GEOIPFILE;

Modified: trunk/tools/geoiplookup_continent.c
==============================================================================
--- trunk/tools/geoiplookup_continent.c	Tue Jul 14 00:00:15 2009	(r7698)
+++ trunk/tools/geoiplookup_continent.c	Tue Jul 14 00:12:35 2009	(r7699)
@@ -25,7 +25,7 @@
 #include <GeoIP.h>
 #include <GeoIPCity.h>
 
-#define DEFAULT_GEOIPFILE "/usr/share/GeoIP/GeoIP.dat"
+#define DEFAULT_GEOIPFILE "/var/lib/GeoIP/GeoIP.dat"
 
 int main(int argc, char **argv) {
 	const char *geoipfilename = DEFAULT_GEOIPFILE;


_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Mon Jul 13 2009 - 22:12:37 GMT

This archive was generated by hypermail 2.2.0 : Mon Jul 13 2009 - 22:45:08 GMT