diff options
author | emkael <emkael@tlen.pl> | 2015-02-19 09:21:46 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2015-02-19 09:21:46 +0100 |
commit | 2b64281b2619c2cbc75d4ab6a5b282ecd70752c5 (patch) | |
tree | cea38eb63275c12a72bde7e778836d0bb7a40f4f | |
parent | 55f10a6e7cead3513600569fb418d571ae88ba57 (diff) |
* synchronizing compressed and uncompressed dump file dates (allows for update when compressed file was updated before uncompressed file was uncompressed, e.g. manually or in archive fallback)
-rwxr-xr-x | fetcher/fetch.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fetcher/fetch.sh b/fetcher/fetch.sh index 9783751..ae18eeb 100755 --- a/fetcher/fetch.sh +++ b/fetcher/fetch.sh @@ -17,5 +17,6 @@ then echo "Found new ErgastDB version" zcat f1db.sql.gz | sed 's/ ENGINE=MyISAM//' > f1db.sql find -name f1db.sql.gz -printf '%f: %Td-%Tm-%TY %TH:%TM, %s bytes\n' + touch -r f1db.sql.gz f1db.sql fi popd > /dev/null |