Changeset 877cc6a for LFS


Ignore:
Timestamp:
04/06/2006 07:35:22 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
a241c33
Parents:
a0ed344
Message:

Merged experimental branch to trunk.
Updated TODO.

Location:
LFS
Files:
2 added
1 moved

Legend:

Unmodified
Added
Removed
  • LFS/lfs.xsl

    ra0ed344 r877cc6a  
    44  %general-entities;
    55]>
     6
     7<!-- $Id$ -->
    68
    79<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     
    2123  <!-- Install vim-lang package? -->
    2224  <xsl:param name="vim-lang" select="1"/>
     25
     26  <!-- Time zone -->
     27  <xsl:param name="timezone" select="America/Toronto"/>
     28
     29  <!-- Page size -->
     30  <xsl:param name="page" select="letter"/>
     31
     32  <!-- Locale settings -->
     33  <xsl:param name="lang" select="en_CA"/>
    2334
    2435  <xsl:template match="/">
     
    122133        <xsl:text>&#xA;</xsl:text>
    123134      </xsl:when>
     135      <!-- Setting $LANG for /etc/profile -->
     136      <xsl:when test="ancestor::sect1[@id='ch-scripts-profile'] and
     137                contains(string(),'export LANG=')">
     138        <xsl:value-of select="substring-before(string(),'export LANG=')"/>
     139        <xsl:text>export LANG=</xsl:text>
     140        <xsl:value-of select="$lang"/>
     141        <xsl:value-of select="substring-after(string(),'modifiers]')"/>
     142        <xsl:text>&#xA;</xsl:text>
     143      </xsl:when>
    124144      <!-- Copying the kernel config file -->
    125145      <xsl:when test="string() = 'make mrproper'">
     
    182202    <xsl:choose>
    183203      <xsl:when test="ancestor::sect1[@id='ch-system-glibc']">
    184         <xsl:text>$TIMEZONE</xsl:text>
     204        <xsl:value-of select="$timezone"/>
    185205      </xsl:when>
    186206      <xsl:when test="ancestor::sect1[@id='ch-system-groff']">
    187         <xsl:text>$PAGE</xsl:text>
     207        <xsl:value-of select="$page"/>
    188208      </xsl:when>
    189209      <xsl:otherwise>
Note: See TracChangeset for help on using the changeset viewer.