]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/dinstall.functions
Architecture names can have more than one character
[dak.git] / config / debian / dinstall.functions
index 3bb5f09b5ae0ac0e5b60e9d14329d32ddd9081af..9ca4433861a84b5765d7fe0bb9a402de359df24c 100755 (executable)
@@ -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