diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-05-17 02:40:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-05-17 02:40:46 +0100 |
commit | bde22322915ae30f7d6df35a8e76db7e522e961d (patch) | |
tree | 5c33f6f26a87c2f4917838219ee0069bf9f95b75 /x11-drivers/nvidia-userspace/nvidia-userspace-346.35.ebuild | |
parent | 2edb8d6403eb04542e79586768299fe1f3b86353 (diff) | |
parent | cb614da9f4a21e7f89230fbf78ec447249547c96 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'x11-drivers/nvidia-userspace/nvidia-userspace-346.35.ebuild')
-rw-r--r-- | x11-drivers/nvidia-userspace/nvidia-userspace-346.35.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-drivers/nvidia-userspace/nvidia-userspace-346.35.ebuild b/x11-drivers/nvidia-userspace/nvidia-userspace-346.35.ebuild index d02de75b..dcf657ba 100644 --- a/x11-drivers/nvidia-userspace/nvidia-userspace-346.35.ebuild +++ b/x11-drivers/nvidia-userspace/nvidia-userspace-346.35.ebuild @@ -318,9 +318,11 @@ pkg_preinst() { local videogroup="$(getent group video | cut -d ':' -f 3)" if [ -n "${videogroup}" ]; then + set -ex sed -i -e "s:PACKAGE:${PF}:g" \ - -e "s:VIDEOGID:${videogroup}:" "${ROOT}"/etc/modprobe.d/nvidia.conf + -e "s:VIDEOGID:${videogroup}:g" "${ROOT}"/etc/modprobe.d/nvidia.conf else + set ex eerror "Failed to determine the video group gid." die "Failed to determine the video group gid." fi |