mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-12-27 03:33:50 -05:00
Update md5sums and wget-list generation.
Do not consider packages specified within a <note>.
This commit is contained in:
@@ -15,10 +15,11 @@
|
|||||||
<!-- If some package don't have the predefined strings in their
|
<!-- If some package don't have the predefined strings in their
|
||||||
name, the next test must be fixed to match it also. Skip possible
|
name, the next test must be fixed to match it also. Skip possible
|
||||||
duplicated URLs that may be split for PDF output -->
|
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, '.tgz' ) or
|
||||||
contains( @url, '.patch') ) and
|
contains( @url, '.patch' )
|
||||||
not( ancestor-or-self::*/@condition = 'pdf' )" >
|
) and
|
||||||
|
not( ancestor-or-self::*/@condition = 'pdf' )" >
|
||||||
<!-- Get the md5sum -->
|
<!-- Get the md5sum -->
|
||||||
<xsl:value-of select="../../para/literal"/>
|
<xsl:value-of select="../../para/literal"/>
|
||||||
|
|
||||||
|
|||||||
@@ -16,10 +16,11 @@
|
|||||||
<!-- If some package don't have the predefined strings in their
|
<!-- If some package don't have the predefined strings in their
|
||||||
name, the next test must be fixed to match it also. Skip possible
|
name, the next test must be fixed to match it also. Skip possible
|
||||||
duplicated URLs due that may be split for PDF output -->
|
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, '.tgz' ) or
|
||||||
contains(@url, '.patch')) and
|
contains(@url, '.patch')
|
||||||
not(ancestor-or-self::*/@condition = 'pdf')">
|
) and
|
||||||
|
not(ancestor-or-self::*/@condition = 'pdf')">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="contains(@url,'?download')">
|
<xsl:when test="contains(@url,'?download')">
|
||||||
<xsl:value-of select="substring-before(@url,'?download')"/>
|
<xsl:value-of select="substring-before(@url,'?download')"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user