diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-06-08 16:36:25 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-06-20 10:16:36 +0200 |
commit | 83d5e1c09179aae7241929c7d55a2ca6a68b4d94 (patch) | |
tree | 8a1942e8b8625076d11675c14cdb33264165ea8a /eclass/user.eclass | |
parent | user.eclass: Remove dead/broken Darwin support (diff) | |
download | gentoo-83d5e1c09179aae7241929c7d55a2ca6a68b4d94.tar.gz gentoo-83d5e1c09179aae7241929c7d55a2ca6a68b4d94.tar.bz2 gentoo-83d5e1c09179aae7241929c7d55a2ca6a68b4d94.zip |
user.eclass: NetBSD has 'getent'
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/user.eclass')
-rw-r--r-- | eclass/user.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
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 <mgorny@gentoo.org> (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} ;; *) |