diff --git a/main.go b/main.go index c33ec32..9ed670e 100644 --- a/main.go +++ b/main.go @@ -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") }