summaryrefslogtreecommitdiff
path: root/x11-drivers
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-09 07:26:23 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-09 07:26:23 +0000
commit5baddffea1be119b084a04aa61ee1700309a1f26 (patch)
tree97cb179e4b03cd4ca7ccbc0d18c282cc6af4bc86 /x11-drivers
parent13d6dc67099f586036592af70c8ddf19bd714bf1 (diff)
x11-drivers/nvidia-drivers : silence realpath errors (https://gitweb.gentoo.org/repo/gentoo.git/commit/x11-drivers/nvidia-drivers?id=8442cf3a86d5af1458541664bfd156b4cde6beae)next
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r5.ebuild4
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-550.127.05-r2.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r5.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r5.ebuild
index 1bfc95ce..4598d1da 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r5.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r5.ebuild
@@ -368,8 +368,8 @@ pkg_postinst() {
ewarn "installed by the ebuild to handle sleep using the official upstream"
ewarn "script. It is recommended to disable the option."
fi
- if [[ $(realpath "${EROOT}"{/etc,{/usr,}/lib*}/elogind/system-sleep | sort | uniq | \
- xargs -d'\n' grep -Ril nvidia 2>/dev/null | wc -l) -gt 2 ]]
+ if [[ $(realpath "${EROOT}"{/etc,{/usr,}/lib*}/elogind/system-sleep 2>/dev/null | \
+ sort | uniq | xargs -d'\n' grep -Ril nvidia 2>/dev/null | wc -l) -gt 2 ]]
then
ewarn
ewarn "!!! WARNING !!!"
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-550.127.05-r2.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-550.127.05-r2.ebuild
index 9d9fddfc..4e81eede 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-550.127.05-r2.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-550.127.05-r2.ebuild
@@ -388,8 +388,8 @@ pkg_postinst() {
ewarn "installed by the ebuild to handle sleep using the official upstream"
ewarn "script. It is recommended to disable the option."
fi
- if [[ $(realpath "${EROOT}"{/etc,{/usr,}/lib*}/elogind/system-sleep | sort | uniq | \
- xargs -d'\n' grep -Ril nvidia 2>/dev/null | wc -l) -gt 2 ]]
+ if [[ $(realpath "${EROOT}"{/etc,{/usr,}/lib*}/elogind/system-sleep 2>/dev/null | \
+ sort | uniq | xargs -d'\n' grep -Ril nvidia 2>/dev/null | wc -l) -gt 2 ]]
then
ewarn
ewarn "!!! WARNING !!!"