summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-08-01 08:41:22 +0200
committerJeroen Roovers <jer@gentoo.org>2020-08-01 08:41:37 +0200
commit59c6e60de0ac0651768cf6893f3b56d0a681402e (patch)
tree5ae6ee5238c14075660f053b42dcdf21de7e4a49
parentapp-admin/sshguard: Version 2.4.1 (diff)
downloadgentoo-59c6e60de0ac0651768cf6893f3b56d0a681402e.tar.gz
gentoo-59c6e60de0ac0651768cf6893f3b56d0a681402e.tar.bz2
gentoo-59c6e60de0ac0651768cf6893f3b56d0a681402e.zip
x11-drivers/nvidia-drivers: Guard modprobe.d mangling with USE=driver
Closes: https://bugs.gentoo.org/735008 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-340.108.ebuild3
1 files changed, 0 insertions, 3 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-340.108.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-340.108.ebuild
index 298817edf68a..dc1b42d6f305 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-340.108.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-340.108.ebuild
@@ -440,9 +440,6 @@ src_install-libs() {
pkg_preinst() {
if use driver && use kernel_linux; then
linux-mod_pkg_preinst
- fi
-
- if use kernel_linux; then
local videogroup="$(getent group video | cut -d ':' -f 3)"
if [ -z "${videogroup}" ]; then
eerror "Failed to determine the video group gid"