diff options
author | Amish | 2021-03-09 17:29:14 +0530 |
---|---|---|
committer | Amish | 2021-03-09 17:29:14 +0530 |
commit | fde7a69b00cbe8f479fe8e60720fbaca8ad1817d (patch) | |
tree | eb1aefa4b6f147d01c352fd15592db5e82892fc6 /PKGBUILD | |
parent | 0ff9b2c5467dbfcd86263291114404cfc9a13c78 (diff) | |
download | aur-fde7a69b00cbe8f479fe8e60720fbaca8ad1817d.tar.gz |
Rebuild with latest DB-IP database
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ # Maintainer: Amish <contact at via dot aur> pkgname=xtables-geoip-db pkgver=2.1 -pkgrel=7 +pkgrel=8 pkgdesc="GeoIP Database for xtables" arch=('any') license=('BSD' 'GPL') @@ -13,7 +13,7 @@ _geoip_date=`date +%Y-%m` # create a file named geoip.license.key which contains MaxMind License key in following format: # _maxmind_key=XXXX -source geoip.license.key +[[ -f geoip.license.key ]] && source geoip.license.key if [[ -z "${_maxmind_key}" ]]; then url="https://db-ip.com/db/download/ip-to-country-lite" source="dbip-country-lite-${_geoip_date}.csv.gz::https://download.db-ip.com/free/dbip-country-lite-${_geoip_date}.csv.gz" |