]> git.pld-linux.org Git - packages/libreoffice.git/commitdiff
- run /usr/bin/update-desktop-database in %%post and %%postun auto/ac/openoffice-1_1_2-3
authorgrzegol <grzegol@pld-linux.org>
Mon, 13 Sep 2004 21:59:43 +0000 (21:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libreoffice.spec -> 1.454

libreoffice.spec

index 32d8360960d88d623fdc31bd2743459e6e0bbb0e..9442b6424e0eb10f7a9e5d8ace2a2770ecc6a681 100644 (file)
@@ -2070,6 +2070,14 @@ chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/program/*
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+umask 022
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
+
+%postun
+umask 022
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
+
 %post libs
 fontpostinst TTF %{_fontsdir}/%{name}
 
This page took 0.031832 seconds and 4 git commands to generate.