]> git.decadent.org.uk Git - dak.git/commitdiff
Merge remote-tracking branch 'ansgar/description-md5' into merge
authorJoerg Jaspert <joerg@debian.org>
Sat, 19 Nov 2011 21:24:25 +0000 (22:24 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sat, 19 Nov 2011 21:24:25 +0000 (22:24 +0100)
* ansgar/description-md5:
  Do not check for existance of unpacked Translation-* files.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian/dinstall.functions

index 21690ea04cc35a5406d20b6ed0278cd3ed46a12a..830a4c207f827913c1831289242a479cfbdc5eea 100644 (file)
@@ -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