Add an option to fork ldconfig in env-update, #182794. Also, preserve the entire line in /etc/env.d/foo if it begins with $

This commit is contained in:
Roy Marples
2007-07-09 10:26:02 +00:00
parent e03844fd26
commit 53d17a1be2
4 changed files with 44 additions and 14 deletions

View File

@@ -42,7 +42,7 @@ start() {
ebegin "Updating environment"
# As runscript prefixes our path with /$LIBDIR/rcscripts/bin, our
# version instead of the portage version should be found first.
env-update
env-update --fork-ldconfig
eend $?
# Take care of random stuff [ /var/lock | /var/run | pam ]