[mirrorbrain-commits] r8172 - /trunk/tools/geoip-lite-update

From: <poeml_at_mirrorbrain.org>
Date: Sun, 26 Sep 2010 12:41:06 -0000
Author: poeml
Date: Sun Sep 26 14:41:05 2010
New Revision: 8172

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8172&view=rev
Log:
tools/geoip-lite-update:
- update also the IPv6 database
- remove potential clutter from wget

Modified:
    trunk/tools/geoip-lite-update

Modified: trunk/tools/geoip-lite-update
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/tools/geoip-lite-update?rev=8172&r1=8171&r2=8172&view=diff
==============================================================================
--- trunk/tools/geoip-lite-update (original)
+++ trunk/tools/geoip-lite-update Sun Sep 26 14:41:05 2010
_at_@ -34,11 +34,18 @@
 cd /usr/share/GeoIP/ 2>/dev/null || cd /var/lib/GeoIP
 
 $prg http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
+rm -f GeoIP.dat.gz.1
 gunzip -c GeoIP.dat.gz > GeoIP.dat.updated.new
 mv GeoIP.dat.updated.new GeoIP.dat.updated
 
 $prg http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
+rm -f GeoLiteCity.dat.gz.1
 gunzip -c GeoLiteCity.dat.gz > GeoLiteCity.dat.updated.new
 mv GeoLiteCity.dat.updated.new GeoLiteCity.dat.updated
 
+$prg http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
+rm -f GeoIPv6.dat.gz.1
+gunzip -c GeoIPv6.dat.gz > GeoIPv6.dat.updated.new
+mv GeoIPv6.dat.updated.new GeoIPv6.dat.updated
+
 /etc/init.d/apache2 reload




_______________________________________________
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 Sun Sep 26 2010 - 12:41:07 GMT

This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT