From e6f5a9b6147fda63824104f492fe78336d7ace2e Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 22 May 2016 16:10:48 +0200 Subject: [PATCH] Do not remove "by-hash" directory --- config/debian/dinstall.functions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 2bbad17a..63a26530 100755 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -117,7 +117,7 @@ function i18n1() { for dir in ${extimportdists}; do if [[ -d dists/${dir}/ ]]; then cd dists/${dir}/main/i18n - rsync -aq --delete --delete-after --exclude Translation-en.bz2 --exclude Translation-*.diff/ . ${ftpdir}/dists/${dir}/main/i18n/. + rsync -aq --delete --delete-after --exclude by-hash --exclude Translation-en.bz2 --exclude "Translation-*.diff/" . ${ftpdir}/dists/${dir}/main/i18n/. fi cd ${scriptdir}/i18nsync done @@ -152,7 +152,7 @@ function dep11() { for comp in main contrib non-free; do mkdir -p ${ftpdir}/dists/${dir}/${comp}/dep11 cd ${dir}/${comp} - rsync -aq --delete --delete-after --exclude "./*.tmp" . ${ftpdir}/dists/${dir}/${comp}/dep11/. + rsync -aq --delete --delete-after --exclude by-hash --exclude "./*.tmp" . ${ftpdir}/dists/${dir}/${comp}/dep11/. cd ${dep11dir} done fi @@ -491,7 +491,7 @@ function mirror() { mkdir -p ${targetpath} cd ${targetpath} - rsync -aH --link-dest ${archiveroot} --delete --delete-after --delete-excluded --exclude Packages.*.new --exclude Sources.*.new --ignore-errors ${archiveroot}/. . + rsync -aH --link-dest ${archiveroot} --delete --delete-after --delete-excluded --exclude "Packages.*.new" --exclude "Sources.*.new" --ignore-errors ${archiveroot}/. . done } -- 2.39.5