summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-440.64.ebuild')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-440.64.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-440.64.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-440.64.ebuild
index 7170a8ba16d4..2cf1e05e9572 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-440.64.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-440.64.ebuild
@@ -3,7 +3,7 @@
EAPI=7
inherit desktop flag-o-matic linux-info linux-mod multilib-minimal \
- nvidia-driver portability toolchain-funcs unpacker user udev
+ nvidia-driver portability toolchain-funcs unpacker udev
DESCRIPTION="NVIDIA Accelerated Graphics Driver"
HOMEPAGE="https://www.nvidia.com/"
@@ -34,6 +34,7 @@ REQUIRED_USE="
COMMON="
app-eselect/eselect-opencl
+ driver? ( kernel_linux? ( acct-group/video ) )
kernel_linux? ( >=sys-libs/glibc-2.6.1 )
tools? (
dev-libs/atk
@@ -511,7 +512,7 @@ pkg_preinst() {
if use driver && use kernel_linux; then
linux-mod_pkg_preinst
- local videogroup="$(egetent group video | cut -d ':' -f 3)"
+ local videogroup="$(getent group video | cut -d ':' -f 3)"
if [ -z "${videogroup}" ]; then
eerror "Failed to determine the video group gid"
die "Failed to determine the video group gid"