Changeset bcbecc5 for BLFS/xsl


Ignore:
Timestamp:
02/04/2018 03:19:14 PM (6 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
4696ddd
Parents:
b7583ec
Message:

Don't generate porg and del .la instructions when doing userad or groupadd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/scripts.xsl

    rb7583ec rbcbecc5  
    428428            </xsl:if>
    429429            <xsl:if test="$wrap-install = 'y' and
    430                           ancestor::sect2[@role='installation']">
     430                          ancestor::sect2[@role='installation'] and
     431                          not(contains(string(),'useradd')) and
     432                          not(contains(string(),'groupadd'))">
    431433              <xsl:text>if [ -r "$JH_PACK_INSTALL" ]; then
    432434  source $JH_PACK_INSTALL
     
    441443          <xsl:if test="not(following-sibling::screen[1][@role='root'])">
    442444            <xsl:if test="$del-la-files = 'y' and
    443                           ancestor::sect2[@role='installation']">
     445                          ancestor::sect2[@role='installation'] and
     446                          not(contains(string(),'useradd')) and
     447                          not(contains(string(),'groupadd'))">
    444448              <xsl:call-template name="output-root">
    445449                <xsl:with-param name="out-string" select="$la-files-instr"/>
     
    447451            </xsl:if>
    448452            <xsl:if test="$wrap-install = 'y' and
    449                           ancestor::sect2[@role='installation']">
     453                          ancestor::sect2[@role='installation'] and
     454                          not(contains(string(),'useradd')) and
     455                          not(contains(string(),'groupadd'))">
    450456              <xsl:text>'&#xA;packInstall</xsl:text>
    451457            </xsl:if>
Note: See TracChangeset for help on using the changeset viewer.