summaryrefslogtreecommitdiffstats
path: root/redhat/tdebase/suse-displaymanagers-tdm
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/tdebase/suse-displaymanagers-tdm')
-rw-r--r--redhat/tdebase/suse-displaymanagers-tdm9
1 files changed, 7 insertions, 2 deletions
diff --git a/redhat/tdebase/suse-displaymanagers-tdm b/redhat/tdebase/suse-displaymanagers-tdm
index 7170ca8f2..a5aee77ff 100644
--- a/redhat/tdebase/suse-displaymanagers-tdm
+++ b/redhat/tdebase/suse-displaymanagers-tdm
@@ -7,10 +7,15 @@ tdm_start_proc() {
}
tdm_vars() {
- TDM_BIN=/opt/trinity/bin/kdm
+ if [ -x /opt/trinity/bin/kdm ]; then
+ TDM_BIN=/opt/trinity/bin/kdm
+ export KDEROOTHOME=/root/.tdm
+ else
+ TDM_BIN=/opt/trinity/bin/tdm
+ export TDEROOTHOME=/root/.tdm
+ fi
case "${DISPLAYMANAGER##*/}" in
tdm)
- export KDEROOTHOME=/root/.kdm
DISPLAYMANAGER=$TDM_BIN
STARTPROC=tdm_start_proc
;;