- Use the scriplets on the wiki for the icon update

This commit is contained in:
Bastien Nocera 2009-05-01 17:55:54 +00:00
parent 5fed15a212
commit 7969ce9d25

View File

@ -1,6 +1,6 @@
Name: gnome-bluetooth
Version: 2.27.4
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Bluetooth graphical utilities
Group: Applications/Communications
@ -114,10 +114,10 @@ export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas \
>& /dev/null || :
touch %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
fi
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%pre
if [ "$1" -gt 1 ]; then
@ -150,9 +150,9 @@ fi
%postun
scrollkeeper-update -q
update-desktop-database -q
touch %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%post libs -p /sbin/ldconfig
@ -184,6 +184,9 @@ fi
%{_datadir}/gtk-doc/html/gnome-bluetooth/
%changelog
* Fri May 01 2009 Bastien Nocera <bnocera@redhat.com> 2.27.4-4
- Use the scriplets on the wiki for the icon update
* Fri May 01 2009 Bastien Nocera <bnocera@redhat.com> 2.27.4-3
- Touch the icon theme directory, should fix the icon not appearing
properly on new installs