diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-03-01 17:10:47 +0100 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-03-01 17:10:47 +0100 |
commit | b99ca6c484e6dca2474b6243251698faffd3d543 (patch) | |
tree | f3fef27e71b6fcbb67f004b169aa3ea425cc0712 /abrt.spec | |
parent | dc0a2bae3695a38da6f36adeeb6835becd5d453c (diff) | |
download | abrt-b99ca6c484e6dca2474b6243251698faffd3d543.tar.gz abrt-b99ca6c484e6dca2474b6243251698faffd3d543.tar.xz abrt-b99ca6c484e6dca2474b6243251698faffd3d543.zip |
icons repackaging
Diffstat (limited to 'abrt.spec')
-rw-r--r-- | abrt.spec | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -259,6 +259,13 @@ exit 0 %post /sbin/chkconfig --add %{name}d +%post gui +# update icon cache +touch --no-create %{_datadir}/icons/hicolor || : +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor || : +fi + %post libs -p /sbin/ldconfig %preun @@ -269,6 +276,12 @@ fi %postun libs -p /sbin/ldconfig +%postun gui +touch --no-create %{_datadir}/icons/hicolor || : +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + %posttrans if [ "$1" -eq "0" ]; then service %{name}d condrestart >/dev/null 2>&1 || : @@ -313,8 +326,8 @@ fi %{_bindir}/%{name}-gui %{_datadir}/%{name} %{_datadir}/applications/fedora-%{name}.desktop -%{_datadir}/pixmaps/abrt.png -%{_datadir}/icons/hicolor/48x48/apps/*.png +%{_datadir}/icons/hicolor/*/apps/abrt.png +%{_datadir}/%{name}/icons/hicolor/*/status/*.png %{_bindir}/%{name}-applet %{_sysconfdir}/xdg/autostart/%{name}-applet.desktop |