Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/scripts.xsl

    ra6c57de r05b955b  
    8080<!-- include the template for replaceable tags -->
    8181  <xsl:include href="process-replaceable.xsl"/>
    82 
    83 <!-- include the template for prompt tags -->
    84   <xsl:include href="process-prompt.xsl"/>
    8582
    8683<!--=================== Begin processing ========================-->
     
    306303      </xsl:when><!-- @role="package" -->
    307304
    308       <xsl:when test="@role = 'qt4-prefix' or @role = 'qt5-prefix'">
     305      <xsl:when test="@role = 'qt5-prefix' or @role = 'qt6-prefix'">
    309306        <xsl:apply-templates select=".//screen[./userinput]"/>
    310307      </xsl:when>
     
    389386      <xsl:when test="@role = 'configuration'">
    390387        <xsl:text>&#xA;</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]"/>
    406390      </xsl:when><!-- @role="configuration" -->
    407391
     
    458442      </xsl:call-template>
    459443    </xsl:variable>
    460     <xsl:variable name="first_letter"
    461                   select="translate(substring($package,1,1),
    462                                     'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
    463                                     'abcdefghijklmnopqrstuvwxyz')"/>
    464444    <xsl:text>&#xA;</xsl:text>
    465445    <xsl:value-of select="$varname"/>
     
    477457    <xsl:value-of select="$varname"/>
    478458    <xsl:text>"
    479   else&#xA;</xsl:text>
    480     <!-- Download from upstream http -->
    481     <xsl:if test="string-length($httpurl) &gt; 10">
    482       <xsl:text>    wget -T 30 -t 5 "</xsl:text>
    483       <xsl:value-of select="$httpurl"/>
    484       <xsl:text>" ||&#xA;</xsl:text>
    485     </xsl:if>
    486     <!-- Download from upstream ftp -->
    487     <xsl:if test="string-length($ftpurl) &gt; 10">
    488       <xsl:text>    wget -T 30 -t 5 "</xsl:text>
    489       <xsl:value-of select="$ftpurl"/>
    490       <xsl:text>" ||&#xA;</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"/>
    497462    <xsl:text>"
    498463  fi
Note: See TracChangeset for help on using the changeset viewer.