From e9be6446f1bf646f30bd6748adf28ef149be4696 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Tue, 12 May 2015 22:55:32 +0300 Subject: [nvidia-userspace] fixing nvidia-userspace --- x11-drivers/nvidia-userspace/nvidia-userspace-173.14.39.ebuild | 2 +- x11-drivers/nvidia-userspace/nvidia-userspace-304.125.ebuild | 2 +- x11-drivers/nvidia-userspace/nvidia-userspace-331.67.ebuild | 2 +- x11-drivers/nvidia-userspace/nvidia-userspace-337.25.ebuild | 2 +- x11-drivers/nvidia-userspace/nvidia-userspace-340.32.ebuild | 2 +- x11-drivers/nvidia-userspace/nvidia-userspace-340.76.ebuild | 2 +- x11-drivers/nvidia-userspace/nvidia-userspace-343.36.ebuild | 2 +- x11-drivers/nvidia-userspace/nvidia-userspace-346.35.ebuild | 4 +++- x11-drivers/nvidia-userspace/nvidia-userspace-346.59.ebuild | 2 +- 9 files changed, 11 insertions(+), 9 deletions(-) diff --git a/x11-drivers/nvidia-userspace/nvidia-userspace-173.14.39.ebuild b/x11-drivers/nvidia-userspace/nvidia-userspace-173.14.39.ebuild index b73da653..6dccd0c1 100644 --- a/x11-drivers/nvidia-userspace/nvidia-userspace-173.14.39.ebuild +++ b/x11-drivers/nvidia-userspace/nvidia-userspace-173.14.39.ebuild @@ -369,7 +369,7 @@ pkg_preinst() { local videogroup="$(getent group video | cut -d ':' -f 3)" if [ -n "${videogroup}" ]; then 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 eerror "Failed to determine the video group gid." die "Failed to determine the video group gid." diff --git a/x11-drivers/nvidia-userspace/nvidia-userspace-304.125.ebuild b/x11-drivers/nvidia-userspace/nvidia-userspace-304.125.ebuild index 9cc09954..0ef41a65 100644 --- a/x11-drivers/nvidia-userspace/nvidia-userspace-304.125.ebuild +++ b/x11-drivers/nvidia-userspace/nvidia-userspace-304.125.ebuild @@ -336,7 +336,7 @@ pkg_preinst() { local videogroup="$(getent group video | cut -d ':' -f 3)" if [ -n "${videogroup}" ]; then 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 eerror "Failed to determine the video group gid." die "Failed to determine the video group gid." diff --git a/x11-drivers/nvidia-userspace/nvidia-userspace-331.67.ebuild b/x11-drivers/nvidia-userspace/nvidia-userspace-331.67.ebuild index d5000db7..673d18a1 100644 --- a/x11-drivers/nvidia-userspace/nvidia-userspace-331.67.ebuild +++ b/x11-drivers/nvidia-userspace/nvidia-userspace-331.67.ebuild @@ -341,7 +341,7 @@ pkg_preinst() { local videogroup="$(getent group video | cut -d ':' -f 3)" if [ -n "${videogroup}" ]; then 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 eerror "Failed to determine the video group gid." die "Failed to determine the video group gid." diff --git a/x11-drivers/nvidia-userspace/nvidia-userspace-337.25.ebuild b/x11-drivers/nvidia-userspace/nvidia-userspace-337.25.ebuild index ccb93726..b255c92c 100644 --- a/x11-drivers/nvidia-userspace/nvidia-userspace-337.25.ebuild +++ b/x11-drivers/nvidia-userspace/nvidia-userspace-337.25.ebuild @@ -319,7 +319,7 @@ pkg_preinst() { local videogroup="$(getent group video | cut -d ':' -f 3)" if [ -n "${videogroup}" ]; then 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 eerror "Failed to determine the video group gid." die "Failed to determine the video group gid." diff --git a/x11-drivers/nvidia-userspace/nvidia-userspace-340.32.ebuild b/x11-drivers/nvidia-userspace/nvidia-userspace-340.32.ebuild index ccb93726..b255c92c 100644 --- a/x11-drivers/nvidia-userspace/nvidia-userspace-340.32.ebuild +++ b/x11-drivers/nvidia-userspace/nvidia-userspace-340.32.ebuild @@ -319,7 +319,7 @@ pkg_preinst() { local videogroup="$(getent group video | cut -d ':' -f 3)" if [ -n "${videogroup}" ]; then 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 eerror "Failed to determine the video group gid." die "Failed to determine the video group gid." diff --git a/x11-drivers/nvidia-userspace/nvidia-userspace-340.76.ebuild b/x11-drivers/nvidia-userspace/nvidia-userspace-340.76.ebuild index ccb93726..b255c92c 100644 --- a/x11-drivers/nvidia-userspace/nvidia-userspace-340.76.ebuild +++ b/x11-drivers/nvidia-userspace/nvidia-userspace-340.76.ebuild @@ -319,7 +319,7 @@ pkg_preinst() { local videogroup="$(getent group video | cut -d ':' -f 3)" if [ -n "${videogroup}" ]; then 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 eerror "Failed to determine the video group gid." die "Failed to determine the video group gid." diff --git a/x11-drivers/nvidia-userspace/nvidia-userspace-343.36.ebuild b/x11-drivers/nvidia-userspace/nvidia-userspace-343.36.ebuild index ccb93726..b255c92c 100644 --- a/x11-drivers/nvidia-userspace/nvidia-userspace-343.36.ebuild +++ b/x11-drivers/nvidia-userspace/nvidia-userspace-343.36.ebuild @@ -319,7 +319,7 @@ pkg_preinst() { local videogroup="$(getent group video | cut -d ':' -f 3)" if [ -n "${videogroup}" ]; then 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 eerror "Failed to determine the video group gid." die "Failed to determine the video group gid." 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 diff --git a/x11-drivers/nvidia-userspace/nvidia-userspace-346.59.ebuild b/x11-drivers/nvidia-userspace/nvidia-userspace-346.59.ebuild index d02de75b..c3de9c45 100644 --- a/x11-drivers/nvidia-userspace/nvidia-userspace-346.59.ebuild +++ b/x11-drivers/nvidia-userspace/nvidia-userspace-346.59.ebuild @@ -319,7 +319,7 @@ pkg_preinst() { local videogroup="$(getent group video | cut -d ':' -f 3)" if [ -n "${videogroup}" ]; then 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 eerror "Failed to determine the video group gid." die "Failed to determine the video group gid." -- cgit v1.2.3