]> git.pld-linux.org Git - packages/abiword.git/commitdiff
- run /usr/bin/update-desktop-database in %%post and %%postun
authorgrzegol <grzegol@pld-linux.org>
Mon, 13 Sep 2004 21:41:12 +0000 (21:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    abiword.spec -> 1.73.2.7

abiword.spec

index cbdb1fa6583447739690cada24e556b1318b9153..d3476df4b3b7394035fd0dfda06df1da99c1b320 100644 (file)
@@ -167,6 +167,14 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/AbiWord-%{mver}/plugins/*.a
 %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
+
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
This page took 0.128142 seconds and 4 git commands to generate.