]> err.no Git - dak/commitdiff
Do not check for existance of unpacked Translation-* files.
authorAnsgar Burchardt <ansgar@debian.org>
Sat, 19 Nov 2011 21:10:54 +0000 (22:10 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Sat, 19 Nov 2011 21:10:54 +0000 (22:10 +0100)
config/debian/dinstall.functions

index 21690ea04cc35a5406d20b6ed0278cd3ed46a12a..830a4c207f827913c1831289242a479cfbdc5eea 100644 (file)
@@ -410,7 +410,7 @@ function mirrorpush() {
         while read SHASUM SIZE NAME; do
             if ! [ -f "${subdir}/${NAME}" ]; then
                bname=$(basename ${NAME})
-                if [ "${bname}" = "Packages" ] || [ "${bname}" = "Sources" ]; then
+                if [[ "${bname}" =~ ^(Packages|Sources|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