summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-05 05:15:59 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-05 05:15:59 +0000
commitf0791b2c6e776d3573330d092cbbe3f1ce734d08 (patch)
tree2391a6c6e655c16027bc4ecb3e3936baa997eca8 /eclass
parentAdded ~sparc keyword. (Manifest recommit) (diff)
downloadgentoo-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.eclass3
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
}