summaryrefslogtreecommitdiffstats
path: root/redhat/applications/knetworkmanager/trinity-knetworkmanager.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/knetworkmanager/trinity-knetworkmanager.spec')
-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