Fix %%preun handling of GConf schemas

This commit is contained in:
Matthias Clasen 2010-05-11 13:58:23 +00:00
parent e8d06d8241
commit 3013ce41b5

View File

@ -1,6 +1,6 @@
Name: gnome-settings-daemon
Version: 2.30.1
Release: 5%{?dist}
Release: 6%{?dist}
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
Group: System Environment/Daemons
@ -99,7 +99,7 @@ touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
%gconf_schema_prepare apps_gnome_settings_daemon_housekeeping apps_gnome_settings_daemon_keybindings apps_gnome_settings_daemon_xrandr desktop_gnome_font_rendering desktop_gnome_keybindings desktop_gnome_peripherals_touchpad gnome-settings-daemon
%preun
%gconf_schema_remove apps_gnome_settings_daemon_housekeeping apps_gnome_settings_daemon_keybindings apps_gnome_settings_daemon_screensaver apps_gnome_settings_daemon_xrandr desktop_gnome_font_rendering desktop_gnome_keybindings desktop_gnome_peripherals_touchpad gnome-settings-daemon
%gconf_schema_remove apps_gnome_settings_daemon_housekeeping apps_gnome_settings_daemon_keybindings apps_gnome_settings_daemon_xrandr desktop_gnome_font_rendering desktop_gnome_keybindings desktop_gnome_peripherals_touchpad gnome-settings-daemon
%postun
if [ $1 -eq 0 ]; then
@ -130,6 +130,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
%changelog
* Tue May 11 2010 Matthias Clasen <mclasen@redhat.com> 2.30.1-6
- Fix the list of GConf schemas in %%preun (#586526)
* Fri May 7 2010 Matthias Clasen <mclasen@redhat.com> 2.30.1-5
- Use correct icon for Fn-F8 OSD