diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2003-07-18 15:10:13 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2003-07-18 15:10:13 +0000 |
commit | 318a8570fd24419d761e352ec2701fec65e56c01 (patch) | |
tree | de1ae616a2335464428fd19d775a3a263cbbf42d /eclass/eutils.eclass | |
parent | Editied init scripts from "use net" to "need net" (diff) | |
download | gentoo-2-318a8570fd24419d761e352ec2701fec65e56c01.tar.gz gentoo-2-318a8570fd24419d761e352ec2701fec65e56c01.tar.bz2 gentoo-2-318a8570fd24419d761e352ec2701fec65e56c01.zip |
Added file matching to games_get_cd and made enewuser and enewgroup less chatty
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r-- | eclass/eutils.eclass | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 903486ea1cf6..6ea60910e45a 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.41 2003/07/14 04:47:17 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.42 2003/07/18 15:10:13 wolf31o2 Exp $ # # Author: Martin Schlemmer <azarah@gentoo.org> # @@ -476,7 +476,6 @@ enewuser() { eerror "No username specified !" die "Cannot call enewuser without a username" fi - einfo "Adding user '${euser}' to your system ..." # setup a file for testing usernames/groups local tmpfile="`mktemp -p ${T}`" @@ -486,9 +485,9 @@ enewuser() { # see if user already exists if [ "${euser}" == "${realuser}" ] ; then - einfo "${euser} already exists on your system :)" return 0 fi + einfo "Adding user '${euser}' to your system ..." # options to pass to useradd local opts="" @@ -588,7 +587,6 @@ enewgroup() { eerror "No group specified !" die "Cannot call enewgroup without a group" fi - einfo "Adding group '${egroup}' to your system ..." # setup a file for testing groupname local tmpfile="`mktemp -p ${T}`" @@ -598,9 +596,9 @@ enewgroup() { # see if group already exists if [ "${egroup}" == "${realgroup}" ] ; then - einfo "${egroup} already exists on your system :)" return 0 fi + einfo "Adding group '${egroup}' to your system ..." # options to pass to useradd local opts="" |