summaryrefslogtreecommitdiffstats
path: root/redhat/tdebase/suse-displaymanagers-tdm
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-07-19 15:39:44 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-07-19 15:39:44 +0200
commitb6a7c10f390060cdd3a9204ad260cc3d3e572038 (patch)
treec8e31a898ef9c03f8fad5e2b317f0637398d1174 /redhat/tdebase/suse-displaymanagers-tdm
parent61888c6507c0c35a3ffb1ba49e8b2dc91ac9f43f (diff)
downloadtde-packaging-b6a7c10f390060cdd3a9204ad260cc3d3e572038.tar.gz
tde-packaging-b6a7c10f390060cdd3a9204ad260cc3d3e572038.zip
RPM Packaging: R14 updates
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
;;