diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-10-05 05:15:59 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-10-05 05:15:59 +0000 |
commit | f0791b2c6e776d3573330d092cbbe3f1ce734d08 (patch) | |
tree | 2391a6c6e655c16027bc4ecb3e3936baa997eca8 /eclass | |
parent | Added ~sparc keyword. (Manifest recommit) (diff) | |
download | gentoo-2-f0791b2c6e776d3573330d092cbbe3f1ce734d08.tar.gz gentoo-2-f0791b2c6e776d3573330d092cbbe3f1ce734d08.tar.bz2 gentoo-2-f0791b2c6e776d3573330d092cbbe3f1ce734d08.zip |
when using nscd, getent might have to flush the tables to make sure the cache doesnt screw it up #66182
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/eutils.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 21e9bb94ec77..553cf3f1b639 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.112 2004/10/05 03:43:02 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.113 2004/10/05 05:15:59 vapier Exp $ # # Author: Martin Schlemmer <azarah@gentoo.org> # @@ -584,6 +584,7 @@ egetent() { fi pw show "${action}" "$2" -q else + which nscd >& /dev/null && nscd -i "$1" getent "$1" "$2" fi } |