diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-12-20 14:16:22 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-12-20 14:16:22 -0200 |
commit | e7d64405c8dc31b67b16795426480cae4d09a7cf (patch) | |
tree | e5d9442abfd5bba9a0aa265bb3615a0bceb02818 /share | |
parent | e1a59ff6b95dad487904f025224c56805645504f (diff) | |
download | hydra-e7d64405c8dc31b67b16795426480cae4d09a7cf.tar.gz hydra-e7d64405c8dc31b67b16795426480cae4d09a7cf.tar.bz2 |
Timestamp for new repositories at sync-media
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydractl/sync-media | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/share/hydractl/sync-media b/share/hydractl/sync-media index 2cddb43..a15e8b7 100755 --- a/share/hydractl/sync-media +++ b/share/hydractl/sync-media @@ -214,6 +214,9 @@ for folder in `ls $CACHE`; do fi elif [ ! -d "$VOLUME/$MEDIA/$folder" ]; then mkdir -p $VOLUME/$MEDIA/$folder + + # Set timestamp old enough to help unison guess which copy is newer + touch -t 197001010000 $VOLUME/$MEDIA/$folder fi fi done |