[packages/vlc] vlc %post crashes, but allow package at least to install

glen glen at pld-linux.org
Sun Mar 30 12:40:12 CEST 2014


commit 6828f9c6544433caed4fe79e1a4b70d34203fc6d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Mar 30 13:40:09 2014 +0300

    vlc %post crashes, but allow package at least to install

 vlc.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vlc.spec b/vlc.spec
index ccd06d8..5ab2bb8 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -57,7 +57,7 @@ Summary:	VLC - a multimedia player and stream server
 Summary(pl.UTF-8):	VLC - odtwarzacz multimedialny oraz serwer strumieni
 Name:		vlc
 Version:	2.1.2
-Release:	4
+Release:	5
 License:	GPL v2+
 Group:		X11/Applications/Multimedia
 Source0:	http://download.videolan.org/pub/videolan/vlc/%{version}/%{name}-%{version}.tar.xz
@@ -434,7 +434,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/ldconfig
-%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc/plugins
+%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc/plugins || :
 
 %postun	-p /sbin/ldconfig
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vlc.git/commitdiff/6828f9c6544433caed4fe79e1a4b70d34203fc6d



More information about the pld-cvs-commit mailing list