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
commite2b733fa155927ac2419ad20e58490f683703797 (patch)
tree72d1b116538a317ba6e1aa9149109b0515f3c529 /x11-base
parentnew version (diff)
downloadhistorical-e2b733fa155927ac2419ad20e58490f683703797.tar.gz
historical-e2b733fa155927ac2419ad20e58490f683703797.tar.bz2
historical-e2b733fa155927ac2419ad20e58490f683703797.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