mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Give at least some indication of what is happening.
This commit is contained in:
parent
af16b027d9
commit
d4c6da7c6e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363181
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user