Skip to contentSkip to conversation

geoip: cleanup intermediate files and run quieter

PATCH New Philip Prindeville 1 participant 1 message Feb 16, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 geoip: cleanup intermediate files and run quieter

From: Philip Prindeville <[email protected]>

---
 geoip/xt_geoip_dl | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
geoip/xt_geoip_dl +6 -5
index 50d3806ebe50a21fc102823868a91472d1dbde71..176832a0b9e88fb6f762fe33bdaa404dbfed5206 100755
@@ -1,8 +1,9 @@
 #!/bin/sh
 
-rm -f GeoIPv6.csv GeoIPv6.csv.gz GeoIPCountryCSV.zip GeoIPCountryWhois.csv;
-wget \
+rm -f GeoIPv6.csv GeoIPv6.csv.gz GeoIPCountryCSV.zip GeoIPCountryWhois.csv
+wget -q \
 	http://geolite.maxmind.com/download/geoip/database/GeoIPv6.csv.gz \
-	http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip;
-gzip -d GeoIPv6.csv.gz;
-unzip GeoIPCountryCSV.zip;
+	http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip
+gzip -d GeoIPv6.csv.gz
+unzip -q GeoIPCountryCSV.zip
+rm -f GeoIPv6.csv.zip GeoIPCountryCSV.zip
Signature · 1 line
2.13.6