summaryrefslogtreecommitdiffstats
path: root/startkde
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2013-04-28 20:01:46 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-04-28 20:01:46 +0200
commitb113c22bcc1be6324cde625eac3bf2432f6544df (patch)
treec27e2f2cae019d4ccce98c36e5657a3e2b4b1bb1 /startkde
parent2cf71f6ad3d35fd30d9b280fcfd59b94a9fa34ce (diff)
downloadtdebase-b113c22bcc1be6324cde625eac3bf2432f6544df.tar.gz
tdebase-b113c22bcc1be6324cde625eac3bf2432f6544df.zip
Update startkde: Fix KDEDIRS does not contain KDEDIR
Diffstat (limited to 'startkde')
-rw-r--r--startkde7
1 files changed, 7 insertions, 0 deletions
diff --git a/startkde b/startkde
index 1934bb050..1497f04e3 100644
--- a/startkde
+++ b/startkde
@@ -81,6 +81,13 @@ else
fi
unset BIN_DIR
+# KDEDIRS
+if is_in_path KDEDIRS "/usr" && ! is_in_path PATH KDEDIRS "${KDEDIR}"; then
+ echo "[startkde] KDEDIRS is currently set to: ${KDEDIRS}" 1>&2
+ echo "[startkde] Adding KDEDIR in KDEDIRS" 1>&2
+ place_before_in_path KDEDIRS "${KDEDIR}" "/usr"
+fi
+
# When the X server dies we get a HUP signal from xinit. We must ignore it
# because we still need to do some cleanup.
trap '[startkde] echo GOT SIGHUP' HUP