Ignore:
Timestamp:
12/27/2012 08:10:02 AM (12 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs
Children:
eabc205
Parents:
12fb268
Message:

Correct a bug in xsl files, which made modules disappear when no other
package was present in a sublist.
+ make version bumping work for modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/gen_config.xsl

    r12fb268 re51fab2  
    6464  <xsl:template match="list">
    6565    <xsl:if
    66       test=".//package[(version and not(inst-version)) or
     66      test=".//*[self::package or self::module]
     67                    [(version and not(inst-version)) or
    6768                      string(version) != string(inst-version)]">
    6869      <xsl:text>config&#9;MENU_</xsl:text>
     
    9192  <xsl:template match="sublist">
    9293    <xsl:if
    93       test=".//package[(version and not(inst-version)) or
     94      test=".//*[self::package or self::module]
     95                    [(version and not(inst-version)) or
    9496                      string(version) != string(inst-version)]">
    9597      <xsl:text>&#9;config&#9;MENU_</xsl:text>
Note: See TracChangeset for help on using the changeset viewer.