[midori] Add update-desktop-database scriptlet. Fixes bug #1003658
Kevin Fenzi
kevin at fedoraproject.org
Wed Nov 6 17:39:49 UTC 2013
commit e08a6a8b5ed688c6534eaf63adfea866124c7597
Author: Kevin Fenzi <kevin at scrye.com>
Date: Wed Nov 6 10:40:01 2013 -0700
Add update-desktop-database scriptlet. Fixes bug #1003658
midori.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/midori.spec b/midori.spec
index eef330a..dcd278e 100644
--- a/midori.spec
+++ b/midori.spec
@@ -2,7 +2,7 @@
Name: midori
Version: 0.5.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A lightweight GTK+ web browser
Group: Applications/Internet
@@ -113,12 +113,14 @@ rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+/usr/bin/update-desktop-database &> /dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+ /usr/bin/update-desktop-database &> /dev/null || :
fi
@@ -152,6 +154,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
+* Wed Nov 06 2013 Kevin Fenzi <kevin at scrye.com> 0.5.5-2
+- Add update-desktop-database scriptlet. Fixes bug #1003658
+
* Fri Aug 16 2013 Kevin Fenzi <kevin at scrye.com> 0.5.5-1
- Update to 0.5.5
More information about the scm-commits
mailing list