summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2009-03-23 03:09:24 +0000
committerJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2009-03-23 03:09:24 +0000
commit94d93b8ab0c3615f6390ada709fdc4e624afe056 (patch)
tree99f5fb290408e93b6920096ad0d6339326e0abeb /kde-base/kdebase-startkde/files
parentStable on sparc, bug #245549 (diff)
downloadhistorical-94d93b8ab0c3615f6390ada709fdc4e624afe056.tar.gz
historical-94d93b8ab0c3615f6390ada709fdc4e624afe056.tar.bz2
historical-94d93b8ab0c3615f6390ada709fdc4e624afe056.zip
Fixed gentoo-startkde4.patch to make it POSIX compliant by replacing == with = in the tests. Thanks to Davide Pesavento <davidepesa@gmail.com> for the report. Fixes bug #263426.
Package-Manager: portage-2.2_rc26/cvs/Linux x86_64
Diffstat (limited to 'kde-base/kdebase-startkde/files')
-rw-r--r--kde-base/kdebase-startkde/files/gentoo-startkde4.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/kde-base/kdebase-startkde/files/gentoo-startkde4.patch b/kde-base/kdebase-startkde/files/gentoo-startkde4.patch
index 2503b643a60c..5028cf100808 100644
--- a/kde-base/kdebase-startkde/files/gentoo-startkde4.patch
+++ b/kde-base/kdebase-startkde/files/gentoo-startkde4.patch
@@ -22,7 +22,7 @@ diff -Naur kdebase-startkde-4.2.0-orig/startkde.cmake kdebase-startkde-4.2.0/sta
+# Gentoo: handle the possible home directory layout for config directory
+# Note that we change the default KDEHOME in kdelibs to .kde4 or .kde${SLOT}
+# for -kdeprefix and +kdeprefix respectively.
-+if [ "${_KDEDIR}" == "/usr" ]; then
++if [ "${_KDEDIR}" = "/usr" ]; then
+ # If the directory doesn't exist make it
+ [ -e "${HOME}/.kde4" ] || mkdir "$HOME/.kde4"
+else
@@ -42,7 +42,7 @@ diff -Naur kdebase-startkde-4.2.0-orig/startkde.cmake kdebase-startkde-4.2.0/sta
done
+# Gentoo part for FHS installs
-+if [ "${_KDEDIR}" == "/usr" ]; then
++if [ "${_KDEDIR}" = "/usr" ]; then
+ for file in "/etc/kde/startup/"*.sh; do
+ test -r "${file}" && . "${file}"
+ done
@@ -56,7 +56,7 @@ diff -Naur kdebase-startkde-4.2.0-orig/startkde.cmake kdebase-startkde-4.2.0/sta
done
+# Gentoo part for FHS installs
-+if [ "${_KDEDIR}" == "/usr" ]; then
++if [ "${_KDEDIR}" = "/usr" ]; then
+ for file in "/etc/kde/shutdown/"*.sh; do
+ test -r "${file}" && . "${file}"
+ done