diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-28 23:35:36 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-28 23:35:36 +0800 |
commit | bd08faf2a1a134e2feb05ee70a8ef45bc3b2f122 (patch) | |
tree | c1cdaefb5d9df6d0c39c6b348d19dffef8e3e700 | |
parent | 31834175665addac3ab34e3b537328d452ad13b9 (diff) | |
download | freebsd-ports-gnome-bd08faf2a1a134e2feb05ee70a8ef45bc3b2f122.tar.gz freebsd-ports-gnome-bd08faf2a1a134e2feb05ee70a8ef45bc3b2f122.tar.zst freebsd-ports-gnome-bd08faf2a1a134e2feb05ee70a8ef45bc3b2f122.zip |
Give at least some indication of what is happening.
-rw-r--r-- | net/GeoIP/files/geoipupdate.sh.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/GeoIP/files/geoipupdate.sh.in b/net/GeoIP/files/geoipupdate.sh.in index 6e937aa32579..73625467f8a2 100644 --- a/net/GeoIP/files/geoipupdate.sh.in +++ b/net/GeoIP/files/geoipupdate.sh.in @@ -1,5 +1,7 @@ #!/bin/sh +echo Fetching GeoIP.dat and GeoIPv6.dat... + TEMPFILE=`mktemp %%DATADIR%%/GeoIP.dat-XXXXXX` if fetch -o - http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz | gunzip >> $TEMPFILE ; then chmod 644 $TEMPFILE @@ -13,6 +15,7 @@ else echo GeoIP.dat download failed exit 1 fi + TEMPFILE=`mktemp %%DATADIR%%/GeoIPv6.dat-XXXXXX` if fetch -o - http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz | gunzip >> $TEMPFILE ; then chmod 644 $TEMPFILE |