From: Ansgar Burchardt <ansgar@debian.org>
Date: Sat, 6 Feb 2016 11:37:00 +0000 (+0100)
Subject: Components-*.yml can exist for all architectures
X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=e31570b80732a4fb1d1ea8ed3e18d2ba7330b40c;p=dak.git

Components-*.yml can exist for all architectures
---

diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions
index 3bb5f09b..761c7249 100755
--- a/config/debian/dinstall.functions
+++ b/config/debian/dinstall.functions
@@ -535,7 +535,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_]+|Components-(amd64|i386)\.yml|icons-(128x128|64x64)\.tar)$ ]]; then
+                    if [[ "${bname}" =~ ^(Packages|Sources|Contents-[a-zA-Z0-9-]+|Translation-[a-zA-Z_]+|Components-[a-zA-Z0-9-]\.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