user.eclass: NetBSD has 'getent'
authorMichał Górny <mgorny@gentoo.org>
Sat, 8 Jun 2019 14:36:25 +0000 (16:36 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 20 Jun 2019 08:16:36 +0000 (10:16 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/user.eclass

index ef5d3bc5e6e039d6c02b01b5eb4eb3e2e7e5f76b..18940f1505f1cde14b09eb748c6d6bc4b004d482 100644 (file)
@@ -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}
                ;;
        *)