From: Michał Górny Date: Sat, 8 Jun 2019 14:36:25 +0000 (+0200) Subject: user.eclass: NetBSD has 'getent' X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=83d5e1c09179aae7241929c7d55a2ca6a68b4d94;p=gentoo.git user.eclass: NetBSD has 'getent' Signed-off-by: Michał Górny --- diff --git a/eclass/user.eclass b/eclass/user.eclass index ef5d3bc5e6e0..18940f1505f1 100644 --- a/eclass/user.eclass +++ b/eclass/user.eclass @@ -4,6 +4,7 @@ # @ECLASS: user.eclass # @MAINTAINER: # base-system@gentoo.org (Linux) +# Michał Górny (NetBSD) # @BLURB: user management in ebuilds # @DESCRIPTION: # The user eclass contains a suite of functions that allow ebuilds @@ -58,7 +59,7 @@ egetent() { pw show ${db} ${opts} "${key}" -q ;; - *-netbsd*|*-openbsd*) + *-openbsd*) grep "${key}:\*:" /etc/${db} ;; *)