diff options
author | François Andriot <albator78@libertysurf.fr> | 2013-07-19 15:39:44 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2013-07-19 15:39:44 +0200 |
commit | b6a7c10f390060cdd3a9204ad260cc3d3e572038 (patch) | |
tree | c8e31a898ef9c03f8fad5e2b317f0637398d1174 /redhat/tdebase/suse-displaymanagers-tdm | |
parent | 61888c6507c0c35a3ffb1ba49e8b2dc91ac9f43f (diff) | |
download | tde-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-tdm | 9 |
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 ;; |