mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-02-10 17:01:35 +01:00
Fix the GeoIp DB updater
This commit is contained in:
parent
8fb21c5fb4
commit
0e8da5a556
@ -151,7 +151,7 @@ public class GeoIpService {
|
||||
// MD5 checksum verification
|
||||
verifyChecksum(Hashing.md5(), tempFile, expectedChecksum);
|
||||
|
||||
Files.copy(tempFile, dataFile);
|
||||
Files.copy(tempFile, dataFile, StandardCopyOption.REPLACE_EXISTING);
|
||||
|
||||
//only set this value to false on success otherwise errors could lead to endless download triggers
|
||||
logger.info("Successfully downloaded new GEO IP database to " + dataFile);
|
||||
|
Loading…
Reference in New Issue
Block a user