]> git.decadent.org.uk Git - dak.git/commitdiff
Ups, architectures have more than just one character around here
authorJoerg Jaspert <joerg@debian.org>
Sun, 30 Aug 2015 21:26:25 +0000 (23:26 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sun, 30 Aug 2015 21:26:25 +0000 (23:26 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian/dinstall.functions

index f4babb0032d5632d3beabaa914b2579f1a573235..ae621185266560cfcd1a391a731b95dde40866d0 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|Contents-[a-zA-Z0-9-]|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