Skip to content

Commit

Permalink
SC
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 0bfa183 commit 27138fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ gzip -d /tmp/maxmind"$1".dat.gz
mv /tmp/maxmind"$1".dat /usr/share/GeoIP/GeoIP"$2".dat
chown root:root /usr/share/GeoIP/GeoIP"$2".dat
chmod 644 /usr/share/GeoIP/GeoIP"$2".dat
find -type f -regex "$SCRIPTS/202[0-9]-[01][0-9]-Maxmind-Country-IP"$2"\.dat" -delete
find "$SCRIPTS" -type f -regex "$SCRIPTS/202[0-9]-[01][0-9]-Maxmind-Country-IP"$2"\.dat" -delete
}

get_newest_dat_files() {
Expand Down

0 comments on commit 27138fc

Please sign in to comment.