blob: ffa0dfcd2678cc058b59c078e272d29987c3c590 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
--- kdebase-3.4.0.orig/startkde 2005-02-23 12:24:24.000000000 +0100
+++ kdebase-3.4.0/startkde 2005-03-10 12:00:05.000000000 +0100
@@ -14,6 +14,41 @@
exit 1
fi
+# Gentoo part:
+export PATH="/usr/kde/3.4/bin:${PATH}"
+
+cd ${HOME}
+if [ -L .kde -o ! -d .kde ]; then
+ # handle ~/.kde* dirs - separate ones for separate KDEs
+ rm -f .kde
+ if [ ! -e .kde3.4 ]; then
+ # migrate old config files
+ if [ -e .kde3.3 ]; then
+ cp -r .kde3.3 .kde3.4
+ elif [ -e .kde3.2 ]; then
+ cp -r .kde3.2 .kde3.4
+ else
+ mkdir .kde3.4
+ fi
+ for file in share/apps/kdevdocumentation/search/htdig.conf \
+ share/apps/kalarmd/clients \
+ share/config/kdevdocumentationrc \
+ share/config/katesyntaxhighlightingrc \
+ share/config/ksysguardrc \
+ share/config/kresources/calendar/stdrc \
+ share/config/ksmserverrc \
+ share/config/kcalrc; do
+ if [ -e ".kde3.4/${file}" ]; then
+ sed -i -e "s:$HOME/\.kde3\.[23]:$HOME/\.kde3\.4:g" \
+ -e 's:$HOME/\.kde3\.[23]:$HOME/\.kde3\.4:g' \
+ ".kde3.4/${file}"
+ fi
+ done
+ fi
+ ln -sf .kde3.4 .kde
+fi
+# Gentoo part ends
+
# Set the background to plain grey.
# The standard X background is nasty, causing moire effects and exploding
# people's heads. We use colours from the standard KDE palette for those with
|