Merge pull request #8149 from Mailaender/fetch-geoip-db

Automatized GeoIP database download
This commit is contained in:
Pavel Penev
2015-05-24 16:43:22 +03:00
13 changed files with 89 additions and 32 deletions

View File

@@ -318,6 +318,7 @@ osx-dependencies: cli-dependencies
@ $(CP_R) thirdparty/download/osx/*.dll.config .
dependencies: $(os-dependencies)
@./thirdparty/fetch-geoip-db.sh
all-dependencies: cli-dependencies windows-dependencies osx-dependencies
@@ -353,7 +354,7 @@ install-core: default
@$(CP_R) mods/modchooser "$(DATA_INSTALL_DIR)/mods/"
@$(INSTALL_DATA) "global mix database.dat" "$(DATA_INSTALL_DIR)/global mix database.dat"
@$(INSTALL_DATA) "GeoLite2-Country.mmdb" "$(DATA_INSTALL_DIR)/GeoLite2-Country.mmdb"
@$(INSTALL_DATA) "GeoLite2-Country.mmdb.gz" "$(DATA_INSTALL_DIR)/GeoLite2-Country.mmdb.gz"
@$(INSTALL_DATA) AUTHORS "$(DATA_INSTALL_DIR)/AUTHORS"
@$(INSTALL_DATA) COPYING "$(DATA_INSTALL_DIR)/COPYING"