Subject: [PATCH] Know about lzma as a possible compression method for data.tar

From: Raphael Geissert <[email-masked]>
Date: Fri, 13 Feb 2009 09:14:33 -0600

---
 checks/deb-format |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/checks/deb-format b/checks/deb-format
index ff950ee..66fb133 100644
--- a/checks/deb-format
+++ b/checks/deb-format
@@ -43,9 +43,9 @@ if ($success) {
     } elsif ($members[1] ne 'control.tar.gz') {
         tag 'malformed-deb-archive',
             "second member $members[1] not control.tar.gz";
-    } elsif ($members[2] !~ /^data\.tar\.(gz|bz2)\z/) {
+    } elsif ($members[2] !~ /^data\.tar\.(gz|bz2|lzma)\z/) {
         tag 'malformed-deb-archive',
-            "third member $members[2] not data.tar.(gz|bz2)";
+            "third member $members[2] not data.tar.(gz|bz2|lzma)";
     } else {
         $okay = 1;
     }