From 511e1c01bb858cb49a272a65a3cd31cf82d73ac1 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sat, 6 Feb 2016 14:38:58 +0100 Subject: [PATCH] Architecture names can have more than one character --- config/debian/dinstall.functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 761c7249..9ca44338 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-[a-zA-Z0-9-]\.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 -- 2.39.2