From: Joerg Jaspert Date: Sun, 30 Aug 2015 21:26:25 +0000 (+0200) Subject: Ups, architectures have more than just one character around here X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=49c623632eb77f5581d1178fdbeb90c588f159d0 Ups, architectures have more than just one character around here Signed-off-by: Joerg Jaspert --- diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index f4babb00..ae621185 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -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