X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fdinstall.functions;h=d12d519fa554ab2733a0dd2fffe29e696cceecc1;hb=88cdf52f57fe66c536cd326c28e60ff7f3e489d2;hp=0040d719d6cc147ddb0969c3ce54665565d4aff4;hpb=472d5820d42930f33636df80275491f05df6e20d;p=dak.git diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 0040d719..d12d519f 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -111,7 +111,8 @@ function dep11() { for dir in stretch sid; do if [ -d ${dir}/ ]; then for comp in main contrib non-free; do - cd dists/${dir}/${comp}/dep11 + mkdir -p ${ftpdir}/dists/${dir}/${comp}/dep11 + cd ${dir}/${comp} rsync -aq --delete --delete-after --exclude *.tmp . ${ftpdir}/dists/${dir}/${comp}/dep11/. cd ${scriptdir}/dep11 done @@ -484,7 +485,8 @@ function mirrorpush() { while read SHASUM SIZE NAME; do if ! [ -f "${subdir}/${NAME}" ]; then bname=$(basename ${NAME}) - if [[ "${bname}" =~ ^(Packages|Sources|Contents-[a-zA-Z0-9-]+|Translation-[a-zA-Z_]+)$ ]]; then + if [[ "${bname}" =~ ^(Packages|Sources|Contents-[a-zA-Z0-9-]+|Translation-[a-zA-Z_]+|Components-(amd64|i386)\.yml|icons-(128x128|64x64)\.tar)$ ]]; then + # We don't keep unpacked files, don't check for their existance. # We might want to go and check their unpacked shasum, but right now # I don't care. I believe it should be enough if all the packed shasums