#!/bin/sh mkdir - ./data/ || echo "data dir exists" curl "http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz" | gzip -d -c - > data/GeoLite2-City.mmdb