[jhalfs] 06/09: BLFS: Add a comment in scriptlets about running /etc/profile
"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Fri, 31 Jan 2025 10:13:15 +0000
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. git pushed a commit to branch plabs/check-version in repository jhalfs. commit d81d1cbd80cc5c020afbdd74c8c4c91619c803ad Author: Pierre Labastie <[email protected]> AuthorDate: Tue Jan 28 15:20:24 2025 +0100 BLFS: Add a comment in scriptlets about running /etc/profile Well, people using the scriptlets may wonder why we source /etc/profile, so tell them --- BLFS/xsl/scripts.xsl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl index 2b88d2b..d7ecd9b 100644 --- a/BLFS/xsl/scripts.xsl +++ b/BLFS/xsl/scripts.xsl @@ -238,7 +238,9 @@ export CMAKE_INSTALL_ALWAYS=1 <!-- When installing several packages, and profile or profile.d has been modified by a previous package, we need to ensure that the updated profile is used. --->if [ -r /etc/profile ]; then source /etc/profile; fi + --> + <xsl:text># Always use the most recent profile +if [ -r /etc/profile ]; then source /etc/profile; fi # End of environment</xsl:text> <xsl:choose> -- To stop receiving notification emails like this one, please contact the administrator of this repository. -- http://lists.linuxfromscratch.org/sympa/info/alfs-discuss Unsubscribe: See the above information page