Fix desktop database scriptlet (#685030)

This commit is contained in:
David King 2014-05-02 12:23:29 +02:00
parent 47c0856502
commit 0bb506cd40

View File

@ -11,7 +11,7 @@
Summary: Disks
Name: gnome-disk-utility
Version: 3.12.1
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://git.gnome.org/browse/gnome-disk-utility
@ -83,10 +83,10 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
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
@ -122,6 +122,9 @@ done
%doc README AUTHORS NEWS COPYING
%changelog
* Fri May 02 2014 David King <amigadave@amigadave.com> - 3.12.1-2
- Fix desktop database scriptlet (#685030)
* Mon Apr 28 2014 Richard Hughes <rhughes@redhat.com> - 3.12.1-1
- Update to 3.12.1