]> git.decadent.org.uk Git - dak.git/commitdiff
Also ignore non-existant unpacked Content files when checking release files
authorJoerg Jaspert <joerg@debian.org>
Sun, 30 Aug 2015 21:21:38 +0000 (23:21 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sun, 30 Aug 2015 21:21:38 +0000 (23:21 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian/dinstall.functions

index 6abf1b84f9cec4a033a9c257bb8582d6b2f6c7ba..f4babb0032d5632d3beabaa914b2579f1a573235 100644 (file)
@@ -458,7 +458,7 @@ function mirrorpush() {
         while read SHASUM SIZE NAME; do
             if ! [ -f "${subdir}/${NAME}" ]; then
                bname=$(basename ${NAME})
-                if [[ "${bname}" =~ ^(Packages|Sources|Translation-[a-zA-Z_]+)$ ]]; then
+                if [[ "${bname}" =~ ^(Packages|Sources|Contents-[a-zA-Z0-9-]|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