Author: pierre
Date: Fri Aug 26 07:42:07 2016
New Revision: 3876
Log:
When testing preceding/following-sibling for wrapping,
only use the first in the series
Modified:
jhalfs/branches/new_features/BLFS/xsl/scripts.xsl
Modified: jhalfs/branches/new_features/BLFS/xsl/scripts.xsl
==============================================================================
--- jhalfs/branches/new_features/BLFS/xsl/scripts.xsl Fri Aug 26 00:13:09
2016 (r3875)
+++ jhalfs/branches/new_features/BLFS/xsl/scripts.xsl Fri Aug 26 07:42:07
2016 (r3876)
@@ -387,7 +387,7 @@
<xsl:if test="child::* = userinput and not(@role = 'nodump')">
<xsl:choose>
<xsl:when test="@role = 'root'">
- <xsl:if test="not(preceding-sibling::screen[@role='root'])">
+ <xsl:if test="not(preceding-sibling::screen[1][@role='root'])">
<xsl:if test="$sudo = 'y'">
<xsl:text>sudo -E sh << ROOT_EOF
</xsl:text>
</xsl:if>
@@ -403,7 +403,7 @@
</xsl:if>
</xsl:if>
<xsl:apply-templates mode="root"/>
- <xsl:if test="not(following-sibling::screen[@role='root'])">
+ <xsl:if test="not(following-sibling::screen[1][@role='root'])">
<xsl:if test="$wrap-install = 'y' and
ancestor::sect2[@role='installation']">
<xsl:text>'
packInstall</xsl:text>
--
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page