summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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