aboutsummaryrefslogtreecommitdiffstats
path: root/prefdm
diff options
context:
space:
mode:
Diffstat (limited to 'prefdm')
-rwxr-xr-xprefdm4
1 files changed, 1 insertions, 3 deletions
diff --git a/prefdm b/prefdm
index bb5ff68b..dd283cec 100755
--- a/prefdm
+++ b/prefdm
@@ -22,10 +22,8 @@ if [ -f /etc/sysconfig/desktop ]; then
[ -n "$DISPLAYMANAGER" ] && DESKTOP=$DISPLAYMANAGER
if [ "$DESKTOP" = GNOME ]; then
preferred=gdm
- elif [ "$DESKTOP" = KDE -o "$DESKTOP" = KDE1 ]; then
+ elif [ "$DESKTOP" = "KDE" -o "$DESKTOP" = "KDE1" -o "$DESKTOP" = "KDE2" ]; then
preferred=/usr/bin/kdm
- elif [ "$DESKTOP" = KDE2 ]; then
- preferred=/usr/lib/kde2/bin/kdm
elif [ "$DESKTOP" = AnotherLevel ] ; then
preferred=/usr/X11R6/bin/xdm
fi