From: Ansgar Burchardt Date: Sat, 19 Nov 2011 21:10:54 +0000 (+0100) Subject: Do not check for existance of unpacked Translation-* files. X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=fa982a30d7038872e70462659c21aab9d799f0ae;p=dak.git Do not check for existance of unpacked Translation-* files. --- diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 21690ea0..830a4c20 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -410,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