diff options
author | Fabian Groffen <grobian@gentoo.org> | 2018-03-10 16:04:42 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2018-03-10 16:04:42 +0100 |
commit | c85ac432678c09bcdc136237243b865561ff380f (patch) | |
tree | eb025767bb155e8e072a4f841d7132d22673f2f6 /scripts | |
parent | scripts/rsync-generation/hashgen: count missing and stray files as failed (diff) | |
download | prefix-c85ac432678c09bcdc136237243b865561ff380f.tar.gz prefix-c85ac432678c09bcdc136237243b865561ff380f.tar.bz2 prefix-c85ac432678c09bcdc136237243b865561ff380f.zip |
scripts/rsync-generation/update-rsync-master: ensure deletes bump mtime
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/rsync-generation/update-rsync-master.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/rsync-generation/update-rsync-master.sh b/scripts/rsync-generation/update-rsync-master.sh index 86a9a4773b..4c1febc2c9 100755 --- a/scripts/rsync-generation/update-rsync-master.sh +++ b/scripts/rsync-generation/update-rsync-master.sh @@ -78,6 +78,11 @@ apply_git_mtimes() { set -- ${line} files+=( $3 ) ;; + [D]*) + # in case a file is removed, ensure Manifest gets + # updated by touching a file which should be there + files+=( metadata.xml ) + ;; esac done } |