Handle .xz format packages as well as .bz2 and .gz

This commit is contained in:
Matthew Burgess 2011-10-27 07:11:12 +00:00
parent 4b54394ca1
commit a7e1348cb9

View file

@ -32,7 +32,8 @@
(ancestor::varlistentry[@vendor=$kernel]
or not(ancestor::varlistentry[@vendor])) and
(contains(@url, '.bz2') or contains(@url, '.tar.gz') or
contains(@url, '.tgz') or contains(@url, '.patch')) and
contains(@url, '.tgz') or contains(@url, '.patch') or
contains(@url, '.xz')) and
not(ancestor-or-self::*/@condition = 'pdf')">
<!-- Extract the package name -->
<xsl:variable name="package">