Update gsettings scriptlet
http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema
This commit is contained in:
parent
327afa2730
commit
938b960b83
@ -1,6 +1,6 @@
|
||||
Name: libgnomekbd
|
||||
Version: 3.0.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: A keyboard configuration library
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -88,18 +88,18 @@ desktop-file-install --delete-original \
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
if [ $1 -eq 0 ]; then
|
||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
fi
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
@ -128,6 +128,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat May 07 2011 Christopher Aillon <caillon@redhat.com> - 3.0.0-3
|
||||
- Update gsettings scriptlet
|
||||
|
||||
* Tue Apr 5 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.0-2
|
||||
- Fix size of keyboard indicator in fallback mode
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user