Changeset ca368ad for BLFS/xsl


Ignore:
Timestamp:
11/23/2023 09:14:30 AM (10 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, trunk
Children:
e6efe4c9
Parents:
0f7a988 (diff), 35094ed (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'trunk' into ablfs-more

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/scripts.xsl

    r0f7a988 rca368ad  
    306306      </xsl:when><!-- @role="package" -->
    307307
    308       <xsl:when test="@role = 'qt4-prefix' or @role = 'qt5-prefix'">
     308      <xsl:when test="@role = 'qt5-prefix' or @role = 'qt6-prefix'">
    309309        <xsl:apply-templates select=".//screen[./userinput]"/>
    310310      </xsl:when>
     
    458458      </xsl:call-template>
    459459    </xsl:variable>
    460     <xsl:variable name="first_letter"
    461                   select="translate(substring($package,1,1),
    462                                     'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
    463                                     'abcdefghijklmnopqrstuvwxyz')"/>
    464460    <xsl:text>&#xA;</xsl:text>
    465461    <xsl:value-of select="$varname"/>
     
    477473    <xsl:value-of select="$varname"/>
    478474    <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"/>
     475  else<!-- Download from upstream http -->
     476    wget -T 30 -t 5 "</xsl:text>
     477    <xsl:value-of select="$httpurl"/>
    497478    <xsl:text>"
    498479  fi
Note: See TracChangeset for help on using the changeset viewer.