From bcbecc53f971c8a9d37e06f2a61a006c0086667d Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 4 Feb 2018 15:19:14 +0000 Subject: [PATCH] Don't generate porg and del .la instructions when doing userad or groupadd --- BLFS/xsl/scripts.xsl | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl index 5e2fa67..fe92698 100644 --- a/BLFS/xsl/scripts.xsl +++ b/BLFS/xsl/scripts.xsl @@ -427,7 +427,9 @@ fi sudo -E sh << ROOT_EOF + ancestor::sect2[@role='installation'] and + not(contains(string(),'useradd')) and + not(contains(string(),'groupadd'))"> if [ -r "$JH_PACK_INSTALL" ]; then source $JH_PACK_INSTALL export -f wrapInstall @@ -440,13 +442,17 @@ wrapInstall ' + ancestor::sect2[@role='installation'] and + not(contains(string(),'useradd')) and + not(contains(string(),'groupadd'))"> + ancestor::sect2[@role='installation'] and + not(contains(string(),'useradd')) and + not(contains(string(),'groupadd'))"> ' packInstall