- Timestamp:
- 06/18/2006 12:41:38 PM (18 years ago)
- Branches:
- experimental
- Children:
- 3b63c8c
- Parents:
- 07eac51
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/libs/scripts.xsl
r07eac51 r1504208 338 338 339 339 <xsl:template match="screen"> 340 <xsl:if test="child::* = userinput"> 341 <xsl:choose> 342 <xsl:when test="@role = 'nodump'"/> 343 <xsl:otherwise> 344 <xsl:if test="@role = 'root'"> 345 <xsl:text>sudo </xsl:text> 346 </xsl:if> 347 <xsl:apply-templates select="userinput" mode="screen"/> 348 </xsl:otherwise> 349 </xsl:choose> 340 <xsl:if test="child::* = userinput and not(@role = 'nodump')"> 341 <xsl:if test="@role = 'root'"> 342 <xsl:text>sudo sh -c "</xsl:text> 343 </xsl:if> 344 <xsl:apply-templates select="userinput"/> 345 <xsl:if test="@role = 'root'"> 346 <xsl:text>"</xsl:text> 347 </xsl:if> 348 <xsl:text>
</xsl:text> 350 349 </xsl:if> 351 350 </xsl:template> … … 362 361 </xsl:template> 363 362 364 <xsl:template match="userinput" mode="screen">363 <xsl:template match="userinput"> 365 364 <xsl:apply-templates/> 366 <xsl:text>
</xsl:text>367 365 </xsl:template> 368 366
Note:
See TracChangeset
for help on using the changeset viewer.