summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2018-03-10 16:04:42 +0100
committerFabian Groffen <grobian@gentoo.org>2018-03-10 16:04:42 +0100
commitc85ac432678c09bcdc136237243b865561ff380f (patch)
treeeb025767bb155e8e072a4f841d7132d22673f2f6 /scripts
parentscripts/rsync-generation/hashgen: count missing and stray files as failed (diff)
downloadprefix-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-xscripts/rsync-generation/update-rsync-master.sh5
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
}