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