mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
app-shells/zsh: fix zprofile for Prefix
Closes: https://bugs.gentoo.org/677880 Signed-off-by: Fabian Groffen <grobian@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
@@ -25,7 +25,7 @@ umask 022
|
||||
if [ "$EUID" = "0" ] || [ "$USER" = "root" ] ; then
|
||||
# Check to make sure ROOTPATH is sane before we use it.
|
||||
# https://bugs.gentoo.org/656400
|
||||
if [[ :${ROOTPATH}: == *:@GENTOO_PORTAGE_EPREFIX@/usr/sbin:* ]]; then
|
||||
if [[ :${ROOTPATH}: == *:/usr/sbin:* ]]; then
|
||||
PATH="${ROOTPATH}"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user