aboutsummaryrefslogtreecommitdiffstats
path: root/prefdm
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-03-07 22:20:07 +0000
committerBill Nottingham <notting@redhat.com>2001-03-07 22:20:07 +0000
commit7b2648843bf072cdec62bd5cf032ba0f33625810 (patch)
tree436289d040d7018a3cc1cd19df94f4bed5b2724f /prefdm
parent8b67ec07f5f8fd72ded16efb3b2e18efab9c79f6 (diff)
downloadinitscripts-7b2648843bf072cdec62bd5cf032ba0f33625810.tar
initscripts-7b2648843bf072cdec62bd5cf032ba0f33625810.tar.gz
initscripts-7b2648843bf072cdec62bd5cf032ba0f33625810.tar.bz2
initscripts-7b2648843bf072cdec62bd5cf032ba0f33625810.tar.xz
initscripts-7b2648843bf072cdec62bd5cf032ba0f33625810.zip
fix KDE2 reference to use current KDE location (#31014)
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