Changes in BLFS/xsl/scripts.xsl [a6c57de:05b955b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/xsl/scripts.xsl
ra6c57de r05b955b 80 80 <!-- include the template for replaceable tags --> 81 81 <xsl:include href="process-replaceable.xsl"/> 82 83 <!-- include the template for prompt tags -->84 <xsl:include href="process-prompt.xsl"/>85 82 86 83 <!--=================== Begin processing ========================--> … … 306 303 </xsl:when><!-- @role="package" --> 307 304 308 <xsl:when test="@role = 'qt 4-prefix' or @role = 'qt5-prefix'">305 <xsl:when test="@role = 'qt5-prefix' or @role = 'qt6-prefix'"> 309 306 <xsl:apply-templates select=".//screen[./userinput]"/> 310 307 </xsl:when> … … 389 386 <xsl:when test="@role = 'configuration'"> 390 387 <xsl:text>
</xsl:text> 391 <xsl:choose> 392 <xsl:when test=".//screen/userinput/prompt"> 393 <xsl:call-template name="process-prompt"> 394 <xsl:with-param 395 name="instructions" 396 select=".//screen[not(@role = 'nodump') and ./userinput]"/> 397 <xsl:with-param name="root-seen" select="false"/> 398 <xsl:with-param name="prompt-seen" select="false"/> 399 </xsl:call-template> 400 </xsl:when> 401 <xsl:otherwise> 402 <xsl:apply-templates mode="config" 403 select=".//screen[not(@role = 'nodump') and ./userinput]"/> 404 </xsl:otherwise> 405 </xsl:choose> 388 <xsl:apply-templates mode="config" 389 select=".//screen[not(@role = 'nodump') and ./userinput]"/> 406 390 </xsl:when><!-- @role="configuration" --> 407 391 … … 458 442 </xsl:call-template> 459 443 </xsl:variable> 460 <xsl:variable name="first_letter"461 select="translate(substring($package,1,1),462 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',463 'abcdefghijklmnopqrstuvwxyz')"/>464 444 <xsl:text>
</xsl:text> 465 445 <xsl:value-of select="$varname"/> … … 477 457 <xsl:value-of select="$varname"/> 478 458 <xsl:text>" 479 else
</xsl:text> 480 <!-- Download from upstream http --> 481 <xsl:if test="string-length($httpurl) > 10"> 482 <xsl:text> wget -T 30 -t 5 "</xsl:text> 483 <xsl:value-of select="$httpurl"/> 484 <xsl:text>" ||
</xsl:text> 485 </xsl:if> 486 <!-- Download from upstream ftp --> 487 <xsl:if test="string-length($ftpurl) > 10"> 488 <xsl:text> wget -T 30 -t 5 "</xsl:text> 489 <xsl:value-of select="$ftpurl"/> 490 <xsl:text>" ||
</xsl:text> 491 </xsl:if> 492 <!-- The FTP_SERVER mirror as a last resort --> 493 <xsl:text> wget -T 30 -t 5 "${JH_FTP_SERVER}svn/</xsl:text> 494 <xsl:value-of select="$first_letter"/> 495 <xsl:text>/$</xsl:text> 496 <xsl:value-of select="$varname"/> 459 else<!-- Download from upstream http --> 460 wget -T 30 -t 5 "</xsl:text> 461 <xsl:value-of select="$httpurl"/> 497 462 <xsl:text>" 498 463 fi
Note:
See TracChangeset
for help on using the changeset viewer.