diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-10-31 04:34:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-10-31 04:34:08 +0000 |
commit | bbad1b8d6f67aca9d5ed9baee69f94feb708f1af (patch) | |
tree | f4f3660209f8185e21ea1dcfeb808b2cd5013812 /eclass | |
parent | arm/ia64/s390 stable for #69154 (Manifest recommit) (diff) | |
download | gentoo-2-bbad1b8d6f67aca9d5ed9baee69f94feb708f1af.tar.gz gentoo-2-bbad1b8d6f67aca9d5ed9baee69f94feb708f1af.tar.bz2 gentoo-2-bbad1b8d6f67aca9d5ed9baee69f94feb708f1af.zip |
remove macos (use only ppc-macos now)
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/eutils.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index eb95b391afb2..7fe61ca3e81a 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.121 2004/10/19 19:51:12 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.122 2004/10/31 04:34:08 vapier Exp $ # # Author: Martin Schlemmer <azarah@gentoo.org> # @@ -579,7 +579,7 @@ emktemp() { # # egetent(database, key) egetent() { - if useq macos || useq ppc-macos ; then + if use ppc-macos ; then case "$2" in *[!0-9]*) # Non numeric nidump $1 . | awk -F":" "{ if (\$1 ~ /^$2$/) {print \$0;exit;} }" @@ -736,7 +736,7 @@ enewuser() { local eextra="$@" local oldsandbox="${SANDBOX_ON}" export SANDBOX_ON="0" - if useq macos || useq ppc-macos ; + if use ppc-macos then ### Make the user if [ -z "${eextra}" ] @@ -829,7 +829,7 @@ enewgroup() { then if [ -z "`egetent group ${egid}`" ] then - if useq macos || useq ppc-macos ; then + if use ppc-macos ; then opts="${opts} ${egid}" else opts="${opts} -g ${egid}" @@ -853,7 +853,7 @@ enewgroup() { # add the group local oldsandbox="${SANDBOX_ON}" export SANDBOX_ON="0" - if useq macos || useq ppc-macos ; + if use ppc-macos then if [ ! -z "${eextra}" ]; then |