]> git.decadent.org.uk Git - dak.git/commitdiff
New files in Release file - adjust the check
authorJoerg Jaspert <joerg@debian.org>
Sat, 12 Dec 2015 12:49:53 +0000 (13:49 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sat, 12 Dec 2015 12:49:53 +0000 (13:49 +0100)
config/debian/dinstall.functions

index 0e5787bd8b42dbbd527c910cb6ad0a35ca824c4b..d12d519fa554ab2733a0dd2fffe29e696cceecc1 100644 (file)
@@ -485,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