Add 'date' argument for geoip_updater.sh
This commit is contained in:
parent
0986e3bebb
commit
c458033f82
@ -13,7 +13,7 @@
|
||||
set -e
|
||||
|
||||
# Define variables
|
||||
DATE=$(date -I)
|
||||
DATE=${1:-$(date -I)}
|
||||
DEST_DIR="/usr/local/share/GeoIP"
|
||||
FN="GeoLite2-City-${DATE//-/}.tar.gz"
|
||||
URL="https://github.com/merkez/maxmind-databases/releases/download/${DATE}/${FN}"
|
||||
|
Loading…
Reference in New Issue
Block a user