From: Jan Rękorajski Date: Sun, 1 Mar 2009 15:57:14 +0000 (+0000) Subject: - ldconfig in libs post(un) X-Git-Tag: auto/th/xorg-driver-video-nvidia-180_35-3~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fxorg-driver-video-nvidia.git;a=commitdiff_plain;h=31407033d52ae50d78029a54e0846df40edaa6d6 - ldconfig in libs post(un) Changed files: xorg-driver-video-nvidia.spec -> 1.218 --- diff --git a/xorg-driver-video-nvidia.spec b/xorg-driver-video-nvidia.spec index 87fe5da..0f14e17 100644 --- a/xorg-driver-video-nvidia.spec +++ b/xorg-driver-video-nvidia.spec @@ -312,7 +312,6 @@ ln -sf libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so rm -rf $RPM_BUILD_ROOT %post -/sbin/ldconfig cat << 'EOF' NOTE: You must also install kernel module for this driver to work kernel-video-nvidia-%{version} @@ -329,7 +328,8 @@ if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then fi %endif -%postun -p /sbin/ldconfig +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig %post -n kernel%{_alt_kernel}-video-nvidia %depmod %{_kernel_ver}