Fix small bug in geoip_updater

This commit is contained in:
Reza Behzadan 2024-02-06 07:26:21 +03:30
parent 56b5cc8741
commit 0986e3bebb

View File

@ -13,8 +13,7 @@
set -e set -e
# Define variables # Define variables
DATE="2024-02-02" DATE=$(date -I)
# DATE=$(date -I)
DEST_DIR="/usr/local/share/GeoIP" DEST_DIR="/usr/local/share/GeoIP"
FN="GeoLite2-City-${DATE//-/}.tar.gz" FN="GeoLite2-City-${DATE//-/}.tar.gz"
URL="https://github.com/merkez/maxmind-databases/releases/download/${DATE}/${FN}" URL="https://github.com/merkez/maxmind-databases/releases/download/${DATE}/${FN}"