commit 8f9e11dbb9e54f55fc47effc7bb4cc473e8a71ff
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Mar 19 11:03:10 2018 +0100
Disable uneeded ldconfig call from main
xorg-x11-drv-nvidia.spec | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index faec47c..10d7ab2 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -399,7 +399,6 @@ if [ "$1" -eq "1" ]; then
fi
%post
-/sbin/ldconfig
if [ "$1" -eq "1" ]; then
%{_grubby} --remove-args='nomodeset' --args='%{_dracutopts}'
&>/dev/null
%if 0%{?fedora} || 0%{?rhel} >= 7
@@ -451,8 +450,6 @@ if [ "$1" -eq "0" ]; then
[ -f %{_sysconfdir}/X11/xorg.conf ] && mv %{_sysconfdir}/X11/xorg.conf
%{_sysconfdir}/X11/xorg.conf.nvidia_uninstalled &>/dev/null
fi ||:
-%postun -p /sbin/ldconfig
-
%postun libs -p /sbin/ldconfig
%postun cuda-libs -p /sbin/ldconfig