Update gsettings scriptlet
http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema (don't compile schemas twice on updating the package, only once is sufficient)
This commit is contained in:
parent
364b747aa7
commit
03f01eac84
@ -1,7 +1,7 @@
|
|||||||
Summary: Backends for the gio framework in GLib
|
Summary: Backends for the gio framework in GLib
|
||||||
Name: gvfs
|
Name: gvfs
|
||||||
Version: 1.8.1
|
Version: 1.8.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.gtk.org
|
URL: http://www.gtk.org
|
||||||
@ -175,7 +175,9 @@ update-gio-modules "$host" &> /dev/null || :
|
|||||||
# Update desktop files mime mappings:
|
# Update desktop files mime mappings:
|
||||||
update-desktop-database &> /dev/null ||:
|
update-desktop-database &> /dev/null ||:
|
||||||
update-gio-modules "$host" &> /dev/null || :
|
update-gio-modules "$host" &> /dev/null || :
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
|
if [ $1 -eq 0 ] ; then
|
||||||
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
|
||||||
|
fi
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
|
||||||
@ -310,6 +312,9 @@ killall -USR1 gvfsd >&/dev/null || :
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat May 07 2011 Christopher Aillon <caillon@redhat.com> - 1.8.1-2
|
||||||
|
- Update gsettings scriptlet
|
||||||
|
|
||||||
* Tue Apr 26 2011 Tomas Bzatek <tbzatek@redhat.com> - 1.8.1-1
|
* Tue Apr 26 2011 Tomas Bzatek <tbzatek@redhat.com> - 1.8.1-1
|
||||||
- Update to 1.8.1
|
- Update to 1.8.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user