summaryrefslogtreecommitdiff
path: root/packages/opie-taskbar/opie-taskbar/opie_defaults
diff options
context:
space:
mode:
Diffstat (limited to 'packages/opie-taskbar/opie-taskbar/opie_defaults')
-rw-r--r--packages/opie-taskbar/opie-taskbar/opie_defaults7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/opie-taskbar/opie-taskbar/opie_defaults b/packages/opie-taskbar/opie-taskbar/opie_defaults
index 38a18e6a9f..f560889927 100644
--- a/packages/opie-taskbar/opie-taskbar/opie_defaults
+++ b/packages/opie-taskbar/opie-taskbar/opie_defaults
@@ -1,5 +1,12 @@
#!/bin/sh
+MACHINE="`cat /proc/cpuinfo | sed -n "/^Hardware/s/.*\:\(.*\)/\1/;s/^\ //p"`"
+KVER="`uname -r | sed -n "s/\([0-9]\)\.\([0-9]\)\..*/\1.\2/p"`"
+
+case "$MACHINE" in
+*Poodle) test "$KVER" = "2.6" && export QWS_CURSOR_ROTATION=90;;
+esac
+
export PATH="$PATH:/opt/QtPalmtop/bin"
export QTDIR="/opt/QtPalmtop"