mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
Ensure geoip directory exists
This commit is contained in:
parent
17612a0ca5
commit
95da9e44d3
@ -7,6 +7,7 @@ chmod +x /etc/periodic/weekly/dbip
|
||||
# check GeoIP2 database
|
||||
if [ ! -f /config/geoip2db/dbip-country-lite.mmdb ]; then
|
||||
echo "Downloading GeoIP2 City database."
|
||||
mkdir -p "/config/geoip2db"
|
||||
/etc/periodic/weekly/dbip
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user