commit 1b6e42a199ff9e0e3fa12f1ec471cafd09e8c90d
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Wed Aug 10 19:23:41 2016 +0100
add ldconfig in %%post and %%postun for main package rfbz#3998
xorg-x11-drv-nvidia.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 21cb850..049d9fb 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -323,6 +323,7 @@ echo "-b %{_nvidia_libdir}" >
%{_sysconfdir}/prelink.conf.d/nvidia-%{_lib}.conf
fi
%post
+/sbin/ldconfig
if [ "$1" -eq "1" ]; then
ISGRUB1=""
if [[ -f /boot/grub/grub.conf && ! -f /boot/grub2/grub.cfg ]] ; then
@@ -398,6 +399,8 @@ fi ||:
%systemd_preun nvidia-persistenced.service
%endif
+%postun -p /sbin/ldconfig
+
%postun libs -p /sbin/ldconfig
%postun cuda
@@ -537,6 +540,7 @@ fi ||:
%changelog
* Wed Aug 10 2016 Leigh Scott <leigh123linux(a)googlemail.com> - 1:367.35-3
- Revert last commit
+- add ldconfig in %%post and %%postun for main package rfbz#3998
* Wed Aug 10 2016 Leigh Scott <leigh123linux(a)googlemail.com> - 1:367.35-2
- Move setttings libs to libs sub-package rfbz#3998
Show replies by date