commit:     c85ac432678c09bcdc136237243b865561ff380f
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 10 15:04:42 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Mar 10 15:04:42 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=c85ac432

scripts/rsync-generation/update-rsync-master: ensure deletes bump mtime

 scripts/rsync-generation/update-rsync-master.sh | 5 +++++
 1 file changed, 5 insertions(+)

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
 }

Reply via email to