Update the times so the latest file is the uncompressed file

This commit is contained in:
Timmy Welch 2023-12-16 16:37:34 -08:00
parent e4f93dc382
commit 5b7d3cf08e

View File

@ -286,6 +286,13 @@ func download(current time.Time) {
Fatal(err)
}
// Update the times so the latest file is the uncompressed file
currentTime := time.Now()
err = os.Chtimes(sqlite_filename, currentTime, currentTime)
if err != nil {
Fatal(err)
}
log.Println("complete")
}