summaryrefslogtreecommitdiffstats
path: root/redhat/applications/ktechlab/ktechlab-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/ktechlab/ktechlab-14.0.0.spec')
-rw-r--r--redhat/applications/ktechlab/ktechlab-14.0.0.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/redhat/applications/ktechlab/ktechlab-14.0.0.spec b/redhat/applications/ktechlab/ktechlab-14.0.0.spec
index ce835aff5..4cdac7bdb 100644
--- a/redhat/applications/ktechlab/ktechlab-14.0.0.spec
+++ b/redhat/applications/ktechlab/ktechlab-14.0.0.spec
@@ -134,6 +134,12 @@ export PATH="%{tde_bindir}:${PATH}"
%find_lang %{tde_pkg}
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file -r -n ktechlab Science Math
+%endif
+
+
%clean
%__rm -rf %{buildroot}
@@ -142,6 +148,7 @@ export PATH="%{tde_bindir}:${PATH}"
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
%postun
touch --no-create %{tde_datadir}/icons/hicolor || :
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :