Disable uneeded ldconfig call from main

el9
Nicolas Chauvet 7 years ago
parent 679fb78bdd
commit 8f9e11dbb9

@ -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

Loading…
Cancel
Save