mirror of
https://github.com/OpenRC/openrc.git
synced 2024-11-27 11:54:26 +08:00
Take no chances with PATH, use our env-update
This commit is contained in:
parent
53d17a1be2
commit
6802e045b3
@ -40,9 +40,8 @@ start() {
|
||||
fi
|
||||
|
||||
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 --fork-ldconfig
|
||||
# Use our version, not portage version.
|
||||
/sbin/env-update --fork-ldconfig
|
||||
eend $?
|
||||
|
||||
# Take care of random stuff [ /var/lock | /var/run | pam ]
|
||||
|
Loading…
Reference in New Issue
Block a user