summaryrefslogtreecommitdiffstats
path: root/redhat/applications
diff options
context:
space:
mode:
authoralbator <albator@arcadia.vtf>2011-11-12 17:24:02 +0100
committeralbator <albator@arcadia.vtf>2011-11-12 17:24:02 +0100
commitba0a15d74e98b4cb42279dcda25e1730197a003e (patch)
tree573f21b006cbf1d74f9bef07c4fc7f5d3b85fc29 /redhat/applications
parent21700c329b74f3e0e97ab6dedb674976493c5005 (diff)
downloadtde-packaging-ba0a15d74e98b4cb42279dcda25e1730197a003e.tar.gz
tde-packaging-ba0a15d74e98b4cb42279dcda25e1730197a003e.zip
RHEL/Fedora: better integration with distribution, small fixes
Diffstat (limited to 'redhat/applications')
-rw-r--r--redhat/applications/knetworkmanager/trinity-knetworkmanager.spec16
1 files changed, 16 insertions, 0 deletions
diff --git a/redhat/applications/knetworkmanager/trinity-knetworkmanager.spec b/redhat/applications/knetworkmanager/trinity-knetworkmanager.spec
index 9173e163c..b561200b4 100644
--- a/redhat/applications/knetworkmanager/trinity-knetworkmanager.spec
+++ b/redhat/applications/knetworkmanager/trinity-knetworkmanager.spec
@@ -106,6 +106,22 @@ cd build
%__rm -rf $RPM_BUILD_ROOT
+%post
+/sbin/ldconfig
+touch --no-create %{_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+
+%postun
+/sbin/ldconfig
+touch --no-create %{_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+
+%post devel
+/sbin/ldconfig
+
+%postun devel
+/sbin/ldconfig
+
%files
%defattr(-,root,root,-)
%{_bindir}/knetworkmanager