Update gsettings schema scriptlet

http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema
This commit is contained in:
Christopher Aillon 2011-05-07 20:33:10 -07:00
parent 07ebc93b5a
commit c179c83f81

View File

@ -2,7 +2,7 @@ Summary: Help browser for the GNOME desktop
Name: yelp Name: yelp
Epoch: 1 Epoch: 1
Version: 3.0.2 Version: 3.0.2
Release: 2%{?dist} Release: 3%{?dist}
#VCS: git:git://git.gnome.org/yelp #VCS: git:git://git.gnome.org/yelp
Source: http://download.gnome.org/sources/yelp/3.0/%{name}-%{version}.tar.bz2 Source: http://download.gnome.org/sources/yelp/3.0/%{name}-%{version}.tar.bz2
@ -88,8 +88,8 @@ touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
%postun %postun
update-desktop-database &> /dev/null ||: update-desktop-database &> /dev/null ||:
glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
gtk-update-icon-cache %{_datadir}icons/hicolor &> /dev/null || : gtk-update-icon-cache %{_datadir}icons/hicolor &> /dev/null || :
fi fi
@ -121,6 +121,9 @@ gtk-update-icon-cache %{_datadir}icons/hicolor &> /dev/null || :
%changelog %changelog
* Sat May 07 2011 Christopher Aillon <caillon@redhat.com> - 1:3.0.2-3
- Update gsettings scriptlet
* Thu Apr 28 2011 Matthias Clasen <mclasen@redhat.com> 1:3.0.2-2 * Thu Apr 28 2011 Matthias Clasen <mclasen@redhat.com> 1:3.0.2-2
- Fix some strings appearing untranslated (e.g. 'Show Text Cursor') - Fix some strings appearing untranslated (e.g. 'Show Text Cursor')