Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/statsclient/files/cron_geoipdb_update.sh

Issue 11468051: Update stats processing (Closed)
Patch Set: Using PyPy for log processing Created Aug. 29, 2013, 8:07 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | modules/statsclient/files/sitescripts.ini » ('j') | modules/statsclient/manifests/init.pp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/statsclient/files/cron_geoipdb_update.sh
===================================================================
--- a/modules/statsclient/files/cron_geoipdb_update.sh
+++ b/modules/statsclient/files/cron_geoipdb_update.sh
@@ -5,9 +5,13 @@
#
umask 022
PATH=/sbin:/bin:/usr/sbin:/usr/bin
export PATH
wget -q http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz -O /tmp/GeoIP.dat.gz
test -e /tmp/GeoIP.dat.gz && gzip -fd /tmp/GeoIP.dat.gz
-test -e /tmp/GeoIP.dat && mv -f /tmp/GeoIP.dat /usr/share/GeoIP/GeoIP.dat
+test -e /tmp/GeoIP.dat && mv -f /tmp/GeoIP.dat /usr/share/GeoIP/GeoIP.dat
+
+wget -q http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz -O /tmp/GeoIPv6.dat.gz
+test -e /tmp/GeoIPv6.dat.gz && gzip -fd /tmp/GeoIPv6.dat.gz
+test -e /tmp/GeoIPv6.dat && mv -f /tmp/GeoIPv6.dat /usr/share/GeoIP/GeoIPv6.dat
« no previous file with comments | « no previous file | modules/statsclient/files/sitescripts.ini » ('j') | modules/statsclient/manifests/init.pp » ('J')

Powered by Google App Engine
This is Rietveld