| Newsgroups |
gmane.linux.lfs.book |
| Message-ID |
<175694328044.3335.6520458128790185177@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch trunk
in repository lfs.
The following commit(s) were added to refs/heads/trunk by this push:
new 33499aebc Update md5sums and wget-list generation.
33499aebc is described below
commit 33499aebc030fb6d3baea8fa8c4574202a14e9ad
Author: Bruce Dubbs <[email protected]>
AuthorDate: Wed Sep 3 18:47:00 2025 -0500
Update md5sums and wget-list generation.
Do not consider packages specified within a <note>.
---
stylesheets/md5sum.xsl | 9 +++++----
stylesheets/wget-list.xsl | 9 +++++----
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/stylesheets/md5sum.xsl b/stylesheets/md5sum.xsl
index 57723df97..4ea19741b 100644
--- a/stylesheets/md5sum.xsl
+++ b/stylesheets/md5sum.xsl
@@ -15,10 +15,11 @@
<!-- 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
- contains( @url, '.tgz' ) or
- contains( @url, '.patch') ) and
- not( ancestor-or-self::*/@condition = 'pdf' )" >
+ <xsl:if test="( (contains( @url, '.tar.' ) and not( ancestor::note ) ) or
+ contains( @url, '.tgz' ) or
+ contains( @url, '.patch' )
+ ) and
+ not( ancestor-or-self::*/@condition = 'pdf' )" >
<!-- Get the md5sum -->
<xsl:value-of select="../../para/literal"/>
diff --git a/stylesheets/wget-list.xsl b/stylesheets/wget-list.xsl
index 09f99cd22..0b07db373 100644
--- a/stylesheets/wget-list.xsl
+++ b/stylesheets/wget-list.xsl
@@ -16,10 +16,11 @@
<!-- 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
- contains(@url, '.tgz') or
- contains(@url, '.patch')) and
- not(ancestor-or-self::*/@condition = 'pdf')">
+ <xsl:if test="( (contains(@url, '.tar.') and not( ancestor::note ) ) or
+ contains(@url, '.tgz' ) or
+ contains(@url, '.patch')
+ ) and
+ not(ancestor-or-self::*/@condition = 'pdf')">
<xsl:choose>
<xsl:when test="contains(@url,'?download')">
<xsl:value-of select="substring-before(@url,'?download')"/>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page