summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdebase/suse-displaymanagers-tdm
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-11-09 12:54:35 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2014-11-09 12:54:35 +0100
commita3bdc3b32bcb585ff9786e727bd8d47917ba3c10 (patch)
tree5da21e4e0bdcc029a5b4a0cf4ae26ff4d300f5e1 /redhat/main/tdebase/suse-displaymanagers-tdm
parente25e5dfb46bcbb9327349620eca4da0a9538bf0d (diff)
downloadtde-packaging-a3bdc3b32bcb585ff9786e727bd8d47917ba3c10.tar.gz
tde-packaging-a3bdc3b32bcb585ff9786e727bd8d47917ba3c10.zip
RPM packaging: update build scripts
Diffstat (limited to 'redhat/main/tdebase/suse-displaymanagers-tdm')
-rw-r--r--redhat/main/tdebase/suse-displaymanagers-tdm26
1 files changed, 26 insertions, 0 deletions
diff --git a/redhat/main/tdebase/suse-displaymanagers-tdm b/redhat/main/tdebase/suse-displaymanagers-tdm
new file mode 100644
index 000000000..5bf0eb4ef
--- /dev/null
+++ b/redhat/main/tdebase/suse-displaymanagers-tdm
@@ -0,0 +1,26 @@
+tdm_start_proc() {
+ splashcopy 0 6
+ # stop plymouth (bug#775548)
+ plymouth_quit
+
+ return 0
+}
+
+tdm_vars() {
+ 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)
+ DISPLAYMANAGER=$TDM_BIN
+ STARTPROC=tdm_start_proc
+ ;;
+ *) return 1 ;;
+ esac
+ return 0
+}
+