From 2e7d96ce374d0150785c7546822b4467bd9ce20d Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Sep 2010 18:23:23 +0000 Subject: Honor KDEHOME environment variable git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1176116 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- startkde | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'startkde') diff --git a/startkde b/startkde index 438f49b68..dc25911b8 100644 --- a/startkde +++ b/startkde @@ -60,7 +60,14 @@ fi # The user's personal KDE directory is usually ~/.kde3, but this setting # may be overridden by setting KDEHOME. -export KDEHOME=$HOME/.kde3 && export PATH=/opt/kde3/bin:/opt/kde3/games:$PATH && export XDG_DATA_DIRS=$XDG_DATA_DIRS:/opt/kde3/share/:/usr/share/ && export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:/opt/kde3/etc/xdg/:/etc/xdg/ && export MANPATH=/opt/kde3/share/man:$MANPATH && export DESKTOP_SESSION=kde3 +if [ -n "$KDEHOME" ]; then + export KDEHOME=$KDEHOME +else + export KDEHOME=$HOME/.kde3 +fi + +export PATH=/opt/kde3/bin:/opt/kde3/games:$PATH && export XDG_DATA_DIRS=$XDG_DATA_DIRS:/opt/kde3/share/:/usr/share/ && export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:/opt/kde3/etc/xdg/:/etc/xdg/ && export MANPATH=/opt/kde3/share/man:$MANPATH && export DESKTOP_SESSION=kde3 + if [ -n "$KDEDIRS" ]; then export KDEDIRS=$KDEDIRS:/opt/kde3/:/usr/ else -- cgit v1.2.1