summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@crux.nu>2010-05-16 12:35:34 +0200
committerTilman Sauerbeck <tilman@crux.nu>2010-05-16 12:35:34 +0200
commita09b143460d8671137445f05a8733be8f69c20ce (patch)
treeab7af8c9ecf944d32dc42e6e5b487aba4394d22f
parent4b4ad16b7f79fcb59bdbd4afe1129e759c741bc2 (diff)
downloadpkgutils-a09b143460d8671137445f05a8733be8f69c20ce.tar.gz
pkgutils-a09b143460d8671137445f05a8733be8f69c20ce.tar.xz
Added support for bzip2- and xz-compressed packages.
-rw-r--r--pkgutil.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgutil.cc b/pkgutil.cc
index 69fefc1e..05b7a1a8 100644
--- a/pkgutil.cc
+++ b/pkgutil.cc
@@ -45,6 +45,8 @@
#define INIT_ARCHIVE(ar) \
archive_read_support_compression_gzip((ar)); \
+ archive_read_support_compression_bzip2((ar)); \
+ archive_read_support_compression_xz((ar)); \
archive_read_support_format_tar((ar))
using __gnu_cxx::stdio_filebuf;

Generated by cgit