From 359814426ecf73211221d87a9a1ecafff10545c9 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 20 Jan 2006 22:00:04 +0000 Subject: get rid of some path lookups (#178321, ) --- initscripts.spec | 1 + lang.sh | 4 ++-- prefdm | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/initscripts.spec b/initscripts.spec index ca590507..4c318678 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -22,6 +22,7 @@ Conflicts: mkinitrd < 4.0, kernel < 2.6.12 Conflicts: ypbind < 1.6-12, psacct < 6.3.2-12, kbd < 1.06-19, lokkit < 0.50-14 Conflicts: dhclient < 3.0.3-7 Conflicts: tcsh < 6.13-5 +Conflicts: xorg-x11 #Conflicts: diskdumputils < 1.1.0 Obsoletes: rhsound sapinit Obsoletes: hotplug diff --git a/lang.sh b/lang.sh index 2bf16f35..50c7c000 100755 --- a/lang.sh +++ b/lang.sh @@ -61,8 +61,8 @@ if [ "$sourced" = 1 ]; then if [ -n "$LANG" ]; then case $LANG in *.utf8*|*.UTF-8*) - if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" -a $SHLVL -eq 1 ]; then - [ -x /bin/unicode_start ] && /sbin/consoletype fg && unicode_start $SYSFONT $SYSFONTACM + if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" ]; then + [ -x /bin/unicode_start ] && /sbin/consoletype fg && /bin/unicode_start $SYSFONT $SYSFONTACM fi ;; esac diff --git a/prefdm b/prefdm index 2b5584ed..e62ff0bd 100755 --- a/prefdm +++ b/prefdm @@ -15,11 +15,11 @@ preferred= if [ -f /etc/sysconfig/desktop ]; then . /etc/sysconfig/desktop if [ "$DISPLAYMANAGER" = GNOME ]; then - preferred=gdm + preferred=/usr/sbin/gdm elif [ "$DISPLAYMANAGER" = KDE ]; then - preferred=kdm + preferred=/usr/bin/kdm elif [ "$DISPLAYMANAGER" = XDM ]; then - preferred=xdm + preferred=/usr/bin/xdm elif [ -n "$DISPLAYMANAGER" ]; then preferred=$DISPLAYMANAGER fi -- cgit