From: | "Jorge Manuel B. S. Vicetto (jmbsvicetto)" <jmbsvicetto@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in kde-base/kdebase-startkde/files: gentoo-startkde4.patch |
Date: | Mon, 23 Mar 2009 03:09:25 |
Message-Id: | E1LlaXU-0005s1-49@stork.gentoo.org |
1 | jmbsvicetto 09/03/23 03:09:24 |
2 | |
3 | Modified: gentoo-startkde4.patch |
4 | Log: |
5 | Fixed gentoo-startkde4.patch to make it POSIX compliant by replacing == with = in the tests. Thanks to Davide Pesavento <davidepesa@×××××.com> for the report. Fixes bug #263426. |
6 | (Portage version: 2.2_rc26/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.4 kde-base/kdebase-startkde/files/gentoo-startkde4.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdebase-startkde/files/gentoo-startkde4.patch?rev=1.4&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdebase-startkde/files/gentoo-startkde4.patch?rev=1.4&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdebase-startkde/files/gentoo-startkde4.patch?r1=1.3&r2=1.4 |
14 | |
15 | Index: gentoo-startkde4.patch |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/kde-base/kdebase-startkde/files/gentoo-startkde4.patch,v |
18 | retrieving revision 1.3 |
19 | retrieving revision 1.4 |
20 | diff -u -r1.3 -r1.4 |
21 | --- gentoo-startkde4.patch 21 Feb 2009 19:07:48 -0000 1.3 |
22 | +++ gentoo-startkde4.patch 23 Mar 2009 03:09:24 -0000 1.4 |
23 | @@ -22,7 +22,7 @@ |
24 | +# Gentoo: handle the possible home directory layout for config directory |
25 | +# Note that we change the default KDEHOME in kdelibs to .kde4 or .kde${SLOT} |
26 | +# for -kdeprefix and +kdeprefix respectively. |
27 | -+if [ "${_KDEDIR}" == "/usr" ]; then |
28 | ++if [ "${_KDEDIR}" = "/usr" ]; then |
29 | + # If the directory doesn't exist make it |
30 | + [ -e "${HOME}/.kde4" ] || mkdir "$HOME/.kde4" |
31 | +else |
32 | @@ -42,7 +42,7 @@ |
33 | done |
34 | |
35 | +# Gentoo part for FHS installs |
36 | -+if [ "${_KDEDIR}" == "/usr" ]; then |
37 | ++if [ "${_KDEDIR}" = "/usr" ]; then |
38 | + for file in "/etc/kde/startup/"*.sh; do |
39 | + test -r "${file}" && . "${file}" |
40 | + done |
41 | @@ -56,7 +56,7 @@ |
42 | done |
43 | |
44 | +# Gentoo part for FHS installs |
45 | -+if [ "${_KDEDIR}" == "/usr" ]; then |
46 | ++if [ "${_KDEDIR}" = "/usr" ]; then |
47 | + for file in "/etc/kde/shutdown/"*.sh; do |
48 | + test -r "${file}" && . "${file}" |
49 | + done |