diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-11-18 18:45:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-11-18 18:45:04 +0000 |
commit | c4ec5c0fbc530600fef720a1a4d69a85dd38a606 (patch) | |
tree | cd17299d7fd2272f832a1b0c55fc7509e7dc4d13 /eclass/eutils.eclass | |
parent | *** empty log message *** (diff) | |
download | historical-c4ec5c0fbc530600fef720a1a4d69a85dd38a606.tar.gz historical-c4ec5c0fbc530600fef720a1a4d69a85dd38a606.tar.bz2 historical-c4ec5c0fbc530600fef720a1a4d69a85dd38a606.zip |
-1 defaults for enewuser
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r-- | eclass/eutils.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 03ca5a539269..091a39b10c72 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.66 2003/11/15 21:48:37 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.67 2003/11/18 18:45:04 vapier Exp $ # # Author: Martin Schlemmer <azarah@gentoo.org> # @@ -531,7 +531,7 @@ enewuser() { # handle shell local eshell="$1"; shift - if [ ! -z "${eshell}" ] + if [ ! -z "${eshell}" ] && [ "${eshell}" != "-1" ] then if [ ! -e "${eshell}" ] then @@ -546,7 +546,7 @@ enewuser() { # handle homedir local ehome="$1"; shift - if [ -z "${ehome}" ] + if [ -z "${ehome}" ] && [ "${eshell}" != "-1" ] then ehome="/dev/null" fi |