diff options
Diffstat (limited to 'stylesheets')
-rw-r--r-- | stylesheets/wget-list.xsl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/stylesheets/wget-list.xsl b/stylesheets/wget-list.xsl index 0b9da9932..5b4b76f11 100644 --- a/stylesheets/wget-list.xsl +++ b/stylesheets/wget-list.xsl @@ -16,8 +16,9 @@ <!-- If some package don't have the predefined strings in their name, the next test must be fixed to match it also. Skip possible duplicated URLs due that may be splitted for PDF output --> - <xsl:if test="(contains(@url, '.tar.') or contains(@url, '.tgz') - or contains(@url, '.patch')) and + <xsl:if test="(contains(@url, '.tar.') or + contains(@url, '.tgz') or + contains(@url, '.patch')) and not(ancestor-or-self::*/@condition = 'pdf')"> <xsl:choose> <xsl:when test="contains(@url,'?download')"> |