Update md5sums and wget-list generation.

Do not consider packages specified within a <note>.
This commit is contained in:
Bruce Dubbs
2025-09-03 18:47:00 -05:00
parent 04d7d7ed28
commit 33499aebc0
2 changed files with 10 additions and 8 deletions

View File

@@ -15,9 +15,10 @@
<!-- 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 that may be split for PDF output -->
<xsl:if test="(contains( @url, '.tar.' ) or
<xsl:if test="( (contains( @url, '.tar.' ) and not( ancestor::note ) ) or
contains( @url, '.tgz' ) or
contains( @url, '.patch') ) and
contains( @url, '.patch' )
) and
not( ancestor-or-self::*/@condition = 'pdf' )" >
<!-- Get the md5sum -->
<xsl:value-of select="../../para/literal"/>

View File

@@ -16,9 +16,10 @@
<!-- 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 split for PDF output -->
<xsl:if test="(contains(@url, '.tar.') or
<xsl:if test="( (contains(@url, '.tar.') and not( ancestor::note ) ) or
contains(@url, '.tgz' ) or
contains(@url, '.patch')) and
contains(@url, '.patch')
) and
not(ancestor-or-self::*/@condition = 'pdf')">
<xsl:choose>
<xsl:when test="contains(@url,'?download')">