summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdebase
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdebase')
-rw-r--r--redhat/main/tdebase/tdebase-14.0.0.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/redhat/main/tdebase/tdebase-14.0.0.spec b/redhat/main/tdebase/tdebase-14.0.0.spec
index f08667350..af48b3492 100644
--- a/redhat/main/tdebase/tdebase-14.0.0.spec
+++ b/redhat/main/tdebase/tdebase-14.0.0.spec
@@ -3363,8 +3363,12 @@ EXEC=%{tde_bindir}/%{tdm}
%if 0%{?pclinuxos}
FNDSESSION_EXEC="/usr/sbin/chksession -k"
%else
+%if 0%{?mgaversion} >= 6
+FNDSESSION_EXEC="/usr/sbin/chksession"
+%else
FNDSESSION_EXEC="/usr/sbin/chksession --generate=/usr/share/xsessions"
%endif
+%endif
EOF
%endif