X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fdinstall.functions;h=830a4c207f827913c1831289242a479cfbdc5eea;hb=047a40135b62dcb69cd534c6f8359834fcfbf03d;hp=ed6f48bcb5c4acf427ca51c0881737dd489b171a;hpb=4c6d9d52eddb26028e5328e30c2d312bc45f3906;p=dak.git diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index ed6f48bc..830a4c20 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -171,6 +171,8 @@ function packages() { log "Generating Packages and Sources files" #cd $configdir #dak generate-packages-sources + # XXX: disable again later + dak generate-packages-sources2 --description-md5 -o Dir::Root=$webdir/newdists/ dak generate-packages-sources2 dak contents generate } @@ -183,6 +185,8 @@ function pdiff() { function release() { log "Generating Release files" dak generate-releases + # XXX: disable again later + dak generate-releases -o Dir::Root=$webdir/newdists/ } function dakcleanup() { @@ -406,7 +410,7 @@ function mirrorpush() { while read SHASUM SIZE NAME; do if ! [ -f "${subdir}/${NAME}" ]; then bname=$(basename ${NAME}) - if [ "${bname}" = "Packages" ] || [ "${bname}" = "Sources" ]; then + if [[ "${bname}" =~ ^(Packages|Sources|Translation-[a-zA-Z_]+)$ ]]; 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