summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-08-25 14:35:01 +0000
committerDan Armak <danarmak@gentoo.org>2002-08-25 14:35:01 +0000
commit950a953ddc1c6ade03f15fbad1230681293b4da0 (patch)
treeac6e322811e4358cae39add0b03b4edf5ec826a0 /x11-base
parentnew version (diff)
downloadgentoo-2-950a953ddc1c6ade03f15fbad1230681293b4da0.tar.gz
gentoo-2-950a953ddc1c6ade03f15fbad1230681293b4da0.tar.bz2
gentoo-2-950a953ddc1c6ade03f15fbad1230681293b4da0.zip
update the kdmrc-location logic: look in /usr/kde/* instead of hardcoding possible locations
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xfree/files/4.2.0-r12/Xsetup_06
1 files changed, 4 insertions, 2 deletions
diff --git a/x11-base/xfree/files/4.2.0-r12/Xsetup_0 b/x11-base/xfree/files/4.2.0-r12/Xsetup_0
index 7cbdfc32d07e..2022592bb146 100644
--- a/x11-base/xfree/files/4.2.0-r12/Xsetup_0
+++ b/x11-base/xfree/files/4.2.0-r12/Xsetup_0
@@ -15,11 +15,13 @@ do
done
echo sessions: $sessions
-# update all kdmrcs located
+# update all kdmrcs located; tries some pretty much impossible locations
+# to make sure we get 'em all
source /etc/make.conf
-for dir in $KDE2DIR $KDE3DIR $KDE2LIBSDIR $KDE3LIBSDIR $KDEDIR ~/.kde /usr/kde/2 /usr/kde/3 /usr
+for dir in /usr/kde/* /usr $KDEDIR $KDE2DIR $KDE3DIR $KDE2LIBSDIR $KDE3LIBSDIR
do
+ echo "Changing kdmrc in $dir"
cd ${dir}/share/config/kdm || continue
cp kdmrc kdmrc.orig