r167 - in trunk/BOOK: . stylesheets

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Fri Feb 11 18:50:44 PST 2005


Author: manuel
Date: 2005-02-11 19:50:38 -0700 (Fri, 11 Feb 2005)
New Revision: 167

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/stylesheets/patcheslist.xsl
Log:
Updated patcheslist.xsl.

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2005-02-12 01:45:46 UTC (rev 166)
+++ trunk/BOOK/general.ent	2005-02-12 02:50:38 UTC (rev 167)
@@ -9,7 +9,7 @@
 <!ENTITY faq-root "&lfs-root;faq/">
 <!ENTITY hints-root "&lfs-root;hints/downloads/files/">
 <!ENTITY hints-index "&lfs-root;hints/list.html">
-<!ENTITY patches-root "&lfs-root;patches/hlfs/">
+<!ENTITY patches-root "&lfs-root;patches/hlfs/svn/">
 <!ENTITY wiki-root "http://wiki.linuxfromscratch.org/">
 <!ENTITY freshmeat "http://freshmeat.net/projects/">
 

Modified: trunk/BOOK/stylesheets/patcheslist.xsl
===================================================================
--- trunk/BOOK/stylesheets/patcheslist.xsl	2005-02-12 01:45:46 UTC (rev 166)
+++ trunk/BOOK/stylesheets/patcheslist.xsl	2005-02-12 02:50:38 UTC (rev 167)
@@ -46,7 +46,14 @@
         <xsl:value-of select="$cut"/>
       </xsl:variable>
       <xsl:text>  cp /home/httpd/www.linuxfromscratch.org/patches/downloads/</xsl:text>
+      <xsl:choose>
+        <xsl:when test="contains($patch.name,'lfs-bootscripts')">
+          <xsl:text>hlfs</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
           <xsl:value-of select="substring-before($patch.name2, '-0')"/>
+        </xsl:otherwise>
+      </xsl:choose>
       <xsl:text>/</xsl:text>
       <xsl:value-of select="$patch.name"/>
       <xsl:text> . &#x0a;</xsl:text>




More information about the hlfs-dev mailing list