[gnome-disk-utility/f20] Fix desktop database scriptlet (#685030)

David King amigadave at fedoraproject.org
Fri May 2 12:38:25 UTC 2014


commit 32586790a927a8e8a5d03f6c3359c7d5e35cf156
Author: David King <amigadave at amigadave.com>
Date:   Fri May 2 12:23:29 2014 +0200

    Fix desktop database scriptlet (#685030)

 gnome-disk-utility.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gnome-disk-utility.spec b/gnome-disk-utility.spec
index 8632979..bb26642 100644
--- a/gnome-disk-utility.spec
+++ b/gnome-disk-utility.spec
@@ -11,7 +11,7 @@
 Summary: Disks
 Name: gnome-disk-utility
 Version: 3.10.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+
 Group: System Environment/Libraries
 URL: http://git.gnome.org/browse/gnome-disk-utility
@@ -91,10 +91,10 @@ desktop-file-install --delete-original  \
 for d in hicolor HighContrast ; do
     touch --no-create %{_datadir}/icons/$d &>/dev/null || :
 done
-update-desktop-database %{_datadir}/applications &> /dev/null
+update-desktop-database %{_datadir}/applications &> /dev/null || :
 
 %postun
-update-desktop-database %{_datadir}/applications &> /dev/null
+update-desktop-database %{_datadir}/applications &> /dev/null || :
 if [ $1 -eq 0 ] ; then
     glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
     for d in hicolor HighContrast ; do
@@ -132,6 +132,9 @@ done
 %doc README AUTHORS NEWS COPYING
 
 %changelog
+* Fri May 02 2014 David King <amigadave at amigadave.com> - 3.10.0-3
+- Fix desktop database scriptlet (#685030)
+
 * Thu Jan  9 2014 Matthias Clasen <mclasen at redhat.com> - 3.10.0-2
 - Make formatting from nautilus work again
 


More information about the scm-commits mailing list