diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2016-01-25 08:46:33 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2016-01-25 08:46:33 -0800 |
commit | ae914681cba55c7c5985fa80d2ed7a32d49bb38c (patch) | |
tree | 7cd1fee78aed44ac14c6cc07e4e9dbfdca1c4d3d /rsync-gen.sh | |
parent | Track mirror --checksum status. (diff) | |
download | mastermirror-scripts-ae914681cba55c7c5985fa80d2ed7a32d49bb38c.tar.gz mastermirror-scripts-ae914681cba55c7c5985fa80d2ed7a32d49bb38c.tar.bz2 mastermirror-scripts-ae914681cba55c7c5985fa80d2ed7a32d49bb38c.zip |
Tweak timestamp on test marker so that less users see it.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'rsync-gen.sh')
-rwxr-xr-x | rsync-gen.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rsync-gen.sh b/rsync-gen.sh index 1b1b182..048e196 100755 --- a/rsync-gen.sh +++ b/rsync-gen.sh @@ -281,8 +281,9 @@ $atomic_rsync -Wqa --exclude=/metadata/timestamp.chk --delete --checksum \ # Testcase for mirrors without --checksum: # If a mirror is running WITHOUT --checksum # They will get the file the first time around, but not any later versions. -# The date is deliberately set far into the future. -ts=1498764321 f=$FINALDIR/metadata/.checksum-test-marker +# The date is deliberately set for just before this experiment started, at a +# very round timestamp, works out to 'Sun Jan 17 03:06:40 UTC 2016'. +ts=1453000000 f=$FINALDIR/metadata/.checksum-test-marker cat >$f <<EOF $(date +%s) $(date -u) # Testcase for mirror network: |