commit 2f463b2b98045b9de69066d5e10edb896f49fc98
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Mar 23 17:29:24 2018 +0100
fixup ldconfig call
vlc.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vlc.spec b/vlc.spec
index b85cfcb..b035152 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -372,11 +372,10 @@ rm -rf %{buildroot}/%{_datadir}/macosx
%find_lang %{name}
-%ldconfig_scriptlets
%ldconfig_scriptlets core
-%ldconfig_scriptlets extras
%post
+%ldconfig
if [ $1 == 1 ] ; then
%{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins &>/dev/null
fi || :
@@ -388,6 +387,7 @@ fi
%{_bindir}/update-desktop-database %{_datadir}/applications &>/dev/null || :
%postun
+%ldconfig
%{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins &>/dev/null
%{_bindir}/update-desktop-database %{_datadir}/applications &>/dev/null
%{_bindir}/touch --no-create %{_datadir}/icons/hicolor
@@ -399,11 +399,13 @@ fi || :
%{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins &>/dev/null || :
%post extras
+%ldconfig
if [ $1 == 1 ] ; then
%{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins &>/dev/null || :
fi
%postun extras
+%ldconfig
if [ $1 == 0 ] ; then
%{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins &>/dev/null || :
fi
Show replies by date