commit 27dbd3cf488e36b794124c32dec9b74c6ba0ece2 Author: fh fh-github@fholzhauer.de Date: Sun Jul 28 10:54:22 2013 +0200
nicer file handling if makefile is executed multiple times without clean --- data/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/data/Makefile b/data/Makefile index b64c939..969cc65 100644 --- a/data/Makefile +++ b/data/Makefile @@ -1,10 +1,10 @@ geoip: - wget http://www.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz - gunzip GeoIPASNum.dat.gz - wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.... - gunzip GeoIP.dat.gz - wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz - gunzip GeoLiteCity.dat.gz + wget -N http://www.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz + gunzip -f GeoIPASNum.dat.gz + wget -N http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.... + gunzip -f GeoIP.dat.gz + wget -N http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz + gunzip -f GeoLiteCity.dat.gz clean: rm -f *.dat
tor-commits@lists.torproject.org