From 50756e0efb5081d3379fa874ca41ab57bdf2798d Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 21 Oct 2011 09:10:46 +0200 Subject: * tests/test_aptsources.py: - use unlzma from xz-utils instead of lzma to follow what dpkg is using (LP: #868188) * debian/control: - add recommends to xz-lzma to ensure we have the unlzma command --- python/tar.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/tar.cc b/python/tar.cc index b994d4e7..4109776c 100644 --- a/python/tar.cc +++ b/python/tar.cc @@ -181,7 +181,7 @@ PyObject *debExtract(PyObject *Self,PyObject *Args) if (strcmp(".bz2", &Chunk[strlen(Chunk)-4]) == 0) Comp = "bzip2"; else if(strcmp(".lzma", &Chunk[strlen(Chunk)-5]) == 0) - Comp = "lzma"; + Comp = "unlzma"; ExtractTar Tar(Deb.GetFile(),Member->Size,Comp); ProcessTar Proc(Function); if (Tar.Go(Proc) == false) -- cgit v1.2.3