summaryrefslogtreecommitdiffstats
path: root/debian/wheezy/tdebase/debian/plasma.autodetect
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-10 16:13:23 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-10 16:13:23 -0500
commit05a59ddb0228494ba27bacbe7d391f06725b0689 (patch)
tree7c028104ac86c3b1e43ea3584528939bd8802426 /debian/wheezy/tdebase/debian/plasma.autodetect
parenta3210d42cfc1a2eb722dd85b0ddac0a2177f26ab (diff)
downloadtde-packaging-05a59ddb0228494ba27bacbe7d391f06725b0689.tar.gz
tde-packaging-05a59ddb0228494ba27bacbe7d391f06725b0689.zip
Split wheezy off of squeeze
Diffstat (limited to 'debian/wheezy/tdebase/debian/plasma.autodetect')
-rwxr-xr-xdebian/wheezy/tdebase/debian/plasma.autodetect14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/wheezy/tdebase/debian/plasma.autodetect b/debian/wheezy/tdebase/debian/plasma.autodetect
new file mode 100755
index 000000000..c23f68909
--- /dev/null
+++ b/debian/wheezy/tdebase/debian/plasma.autodetect
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+DESKTOP_SESSION="$DESKTOP_SESSION"
+echo "You are running $DESKTOP_SESSION"
+
+if [[ "$DESKTOP_SESSION" == "trinity" ]]
+then
+ # Do nothing, this is Trinity
+ echo "I detected Trinity"
+else
+ # This is KDE4, start plasma
+ echo "I detected KDE4"
+ /usr/bin/plasma.kde4
+fi