summaryrefslogtreecommitdiffstats
path: root/abrt.spec
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-03-01 17:10:47 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2010-03-01 17:10:47 +0100
commitb99ca6c484e6dca2474b6243251698faffd3d543 (patch)
treef3fef27e71b6fcbb67f004b169aa3ea425cc0712 /abrt.spec
parentdc0a2bae3695a38da6f36adeeb6835becd5d453c (diff)
downloadabrt-b99ca6c484e6dca2474b6243251698faffd3d543.tar.gz
abrt-b99ca6c484e6dca2474b6243251698faffd3d543.tar.xz
abrt-b99ca6c484e6dca2474b6243251698faffd3d543.zip
icons repackaging
Diffstat (limited to 'abrt.spec')
-rw-r--r--abrt.spec17
1 files changed, 15 insertions, 2 deletions
diff --git a/abrt.spec b/abrt.spec
index 8d725c3e..99478fd4 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -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