summaryrefslogtreecommitdiffstats
path: root/redhat/applications/knights/knights.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/knights/knights.spec')
-rw-r--r--redhat/applications/knights/knights.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/redhat/applications/knights/knights.spec b/redhat/applications/knights/knights.spec
index ad7bf843e..e65f7e49a 100644
--- a/redhat/applications/knights/knights.spec
+++ b/redhat/applications/knights/knights.spec
@@ -164,6 +164,11 @@ if [ -d "%{?buildroot}%{tde_datadir}/applnk" ]; then
%__rm -r "%{buildroot}%{tde_datadir}/applnk"
fi
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file -r "%{buildroot}%{tde_tdeappdir}/knights.desktop" Game BoardGame
+%endif
+
%clean
%__rm -rf %{buildroot}