[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Do not check for existance of unpacked Translation-* files.



---
 config/debian/dinstall.functions |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions
index 21690ea..830a4c2 100644
--- a/config/debian/dinstall.functions
+++ b/config/debian/dinstall.functions
@@ -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
-- 
1.7.2.5


Reply to: