blob: 945c77d5b00ede8c805a719376036d9954335ad8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
set -eu
if [ "$MAXMIND_KEY" != "" ] ; then
curl "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=${MAXMIND_KEY}&suffix=tar.gz" \
| tar --strip-components 1 -zxv
fi
exec "$@"
|