Skip to content

Commit

Permalink
update with $var instead
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hansson <[email protected]>
  • Loading branch information
enoch85 committed Sep 12, 2024
1 parent f47620b commit c297b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/geoblock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ check_command a2enmod geoip rewrite
check_command systemctl restart apache2

# Download newest dat files
find /var/scripts -type f -regex \
find "$SCRIPTS" -type f -regex \
"$SCRIPTS/202[0-9]-[01][0-9]-Maxmind-Country-IPv[46]\.dat" -delete
# IPv4
curl_to_dir https://dl.miyuru.lk/geoip/maxmind/country maxmind4.dat.gz /tmp
Expand Down

0 comments on commit c297b66

Please sign in to comment.