Lines 14-19
Link Here
|
14 |
exit 1 |
14 |
exit 1 |
15 |
fi |
15 |
fi |
16 |
|
16 |
|
|
|
17 |
# Gentoo part: |
18 |
export PATH="/usr/kde/cvs/bin:${PATH}" |
19 |
|
20 |
cd ${HOME} |
21 |
if [ -L .kde -o ! -d .kde ]; then |
22 |
# handle ~/.kde* dirs - separate ones for separate KDEs |
23 |
rm -f .kde |
24 |
if [ ! -e .kdecvs ]; then |
25 |
# migrate old config files |
26 |
if [ -e .kde3.4 ]; then |
27 |
cp -r .kde3.4 .kdecvs |
28 |
elif [ -e .kde3.3 ]; then |
29 |
cp -r .kde3.3 .kdecvs |
30 |
elif [ -e .kde3.2 ]; then |
31 |
cp -r .kde3.2 .kdecvs |
32 |
else |
33 |
mkdir .kdecvs |
34 |
fi |
35 |
for file in share/apps/kdevdocumentation/search/htdig.conf \ |
36 |
share/apps/kalarmd/clients \ |
37 |
share/config/kdevdocumentationrc \ |
38 |
share/config/katesyntaxhighlightingrc \ |
39 |
share/config/ksysguardrc \ |
40 |
share/config/kresources/calendar/stdrc \ |
41 |
share/config/ksmserverrc \ |
42 |
share/config/kcalrc; do |
43 |
if [ -e ".kdecvs/${file}" ]; then |
44 |
sed -i -e "s:$HOME/\.kde3\.[234]:$HOME/\.kdecvs:g" \ |
45 |
-e 's:$HOME/\.kde3\.[234]:$HOME/\.kdecvs:g' \ |
46 |
".kdecvs/${file}" |
47 |
fi |
48 |
done |
49 |
fi |
50 |
ln -sf .kdecvs .kde |
51 |
fi |
52 |
# Gentoo part ends |
53 |
|
17 |
# Set the background to plain grey. |
54 |
# Set the background to plain grey. |
18 |
# The standard X background is nasty, causing moire effects and exploding |
55 |
# The standard X background is nasty, causing moire effects and exploding |
19 |
# people's heads. We use colours from the standard KDE palette for those with |
56 |
# people's heads. We use colours from the standard KDE palette for those with |