From a274265f76722f7b53aaa1249fe7f615649f8d6b Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Nov 26 2016 00:18:01 +0000 Subject: Fix file deletion commit 396e5159 accidentally removed the line that populates master-deletefiles, so file deletion simply hasn't happened since then. *Directory* deletion still works, so when an entire directory disappears from the remote end it will be deleted, but this bug meant that, for example, old update packages would not be removed when they were superseded. --- diff --git a/quick-fedora-mirror b/quick-fedora-mirror index 3076c6f..3429669 100755 --- a/quick-fedora-mirror +++ b/quick-fedora-mirror @@ -546,6 +546,7 @@ for module in $MODULES; do sort allfiles-$module allfiles-$module localfiles-$module \ | uniq -u \ | egrep -v '^[^/]*/fullfile(time)?list' > deletefiles-$module + cat deletefiles-$module >> master-deletefiles # Find dirs on the client which don't exist on the server sort alldirs-$module alldirs-$module localdirs-$module \