Commit 358050d2 authored by Axel Beckert's avatar Axel Beckert

Manually extract data tar ball if xz-compressed

dpkg-deb from Wheezy doesn't yet support data.tar.xz members.
parent 22815a85
......@@ -37,5 +37,9 @@ done
# Extract docs from packages
for docpkg in aptitude-doc-*.deb; do
dpkg-deb --fsys-tarfile $docpkg | tar xf - $tar_opt -C "$docdir" --strip-components=6 ./usr/share/doc/aptitude/html/
if ar t $docpkg | fgrep -q data.tar.xz; then
ar p $docpkg data.tar.xz | xzcat
dpkg-deb --fsys-tarfile $docpkg
fi | tar xf - $tar_opt -C "$docdir" --strip-components=6 ./usr/share/doc/aptitude/html/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment