From 8f9e11dbb9e54f55fc47effc7bb4cc473e8a71ff Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Mon, 19 Mar 2018 11:03:10 +0100 Subject: [PATCH] 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