X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fdinstall.functions;h=587df1b5d07bc3f151db18590c37cba8ede1dcfd;hb=1eb18077dfc10f7ba80a94fc2e85c79b944e4d61;hp=508e60e6435b7016143853b31bd0119b623b1cdd;hpb=ecd2ca44852b942c1af7cf1d9906c6bab8159fc1;p=dak.git diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 508e60e6..587df1b5 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -440,7 +440,7 @@ function mirror() { echo "Running on host: $(hostname -f)" >> ${TRACEFILE} echo "Archive serial: ${SERIAL}" >> ${TRACEFILE} cd ${mirrordir} - rsync -aH --link-dest ${ftpdir} --delete --delete-after --ignore-errors ${ftpdir}/. . + rsync -aH --link-dest ${ftpdir} --delete --delete-after --delete-excluded --exclude Packages.*.new --exclude Sources.*.new --ignore-errors ${ftpdir}/. . } function expire() {