fix icon scriptlets
This commit is contained in:
parent
ecdfb09898
commit
f6930864a4
|
@ -1,7 +1,7 @@
|
|||
|
||||
Name: mate-settings-daemon
|
||||
Version: 1.4.0
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: MATE Desktop settings daemon
|
||||
License: GPLv2+
|
||||
URL: http://mate-desktop.org
|
||||
|
@ -55,7 +55,7 @@ rm -fv %{buildroot}%{_libdir}/lib*.la
|
|||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
||||
touch --no-create %{_datadir}/icons/mate &> /dev/null || :
|
||||
%mateconf_schema_upgrade apps_mate_settings_daemon_housekeeping
|
||||
%mateconf_schema_upgrade apps_mate_settings_daemon_keybindings
|
||||
%mateconf_schema_upgrade apps_mate_settings_daemon_xrandr
|
||||
|
@ -68,8 +68,8 @@ touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|||
%postun
|
||||
/sbin/ldconfig
|
||||
if [ $1 -eq 0 ] ; then
|
||||
touch --no-create %{_datadir}/icons/hicolor &> /dev/null
|
||||
gtk-update-icon-cache -f %{_datadir}/icons/hicolor &> /dev/null || :
|
||||
touch --no-create %{_datadir}/icons/mate &> /dev/null
|
||||
gtk-update-icon-cache %{_datadir}/icons/mate &> /dev/null || :
|
||||
fi
|
||||
%mateconf_schema_remove apps_mate_settings_daemon_housekeeping
|
||||
%mateconf_schema_remove apps_mate_settings_daemon_keybindings
|
||||
|
@ -81,7 +81,7 @@ fi
|
|||
%mateconf_schema_remove mate-settings-daemon
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
gtk-update-icon-cache %{_datadir}/icons/mate &>/dev/null || :
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc AUTHORS COPYING README
|
||||
|
@ -112,6 +112,9 @@ gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Oct 10 2012 Rex Dieter <rdieter@fedoraproject.org> 1.4.0-6
|
||||
- fix icon scriptlets
|
||||
|
||||
* Fri Sep 28 2012 Rex Dieter <rdieter@fedoraproject.org> - 1.4.0-5
|
||||
- remove local quirks not needed for fedora buildsys
|
||||
- simplify %%files, fix some dir-ownership
|
||||
|
|
Loading…
Reference in New Issue