diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-05-25 22:07:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-05-25 22:07:31 +0000 |
commit | e645d18433918066a46fa86e6045c89c1400f60b (patch) | |
tree | 231c683ed29534141c9e0506afc48dc2edd1b218 /eclass/eutils.eclass | |
parent | Bring back R-1.9.0-r1 until <=dev-python/rpy-0.3.5-r1 are removed from portage. (diff) | |
download | historical-e645d18433918066a46fa86e6045c89c1400f60b.tar.gz historical-e645d18433918066a46fa86e6045c89c1400f60b.tar.bz2 historical-e645d18433918066a46fa86e6045c89c1400f60b.zip |
fix the home logic in enewuser properly #93955
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r-- | eclass/eutils.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index e63d1432bdfd..9b5168dee31c 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.175 2005/05/25 00:04:25 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.176 2005/05/25 22:07:31 vapier Exp $ # # Author: Martin Schlemmer <azarah@gentoo.org> # @@ -521,7 +521,7 @@ enewuser() { # handle homedir local ehome="$1"; shift - if [ ! -z "${ehome}" ] && [ "${eshell}" != "-1" ] + if [ -z "${ehome}" ] || [ "${eshell}" == "-1" ] then ehome="/dev/null" fi |