When testing preceding/following-sibling for wrapping,
only use the first in the series
This commit is contained in:
parent
24e2a6f2f8
commit
c650f9bf2a
1 changed files with 2 additions and 2 deletions
|
@ -387,7 +387,7 @@ fi
|
||||||
<xsl:if test="child::* = userinput and not(@role = 'nodump')">
|
<xsl:if test="child::* = userinput and not(@role = 'nodump')">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="@role = 'root'">
|
<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:if test="$sudo = 'y'">
|
||||||
<xsl:text>sudo -E sh << ROOT_EOF
</xsl:text>
|
<xsl:text>sudo -E sh << ROOT_EOF
</xsl:text>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
@ -403,7 +403,7 @@ wrapInstall '
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:apply-templates mode="root"/>
|
<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
|
<xsl:if test="$wrap-install = 'y' and
|
||||||
ancestor::sect2[@role='installation']">
|
ancestor::sect2[@role='installation']">
|
||||||
<xsl:text>'
packInstall</xsl:text>
|
<xsl:text>'
packInstall</xsl:text>
|
||||||
|
|
Reference in a new issue