diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-16 18:23:23 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-16 18:23:23 +0000 |
commit | 2e7d96ce374d0150785c7546822b4467bd9ce20d (patch) | |
tree | af78addc57ce5c649e8e52104eac543ffceecf6a /startkde | |
parent | e66cfb6dc471fe445615a17cec31f916fe2d0433 (diff) | |
download | tdebase-2e7d96ce374d0150785c7546822b4467bd9ce20d.tar.gz tdebase-2e7d96ce374d0150785c7546822b4467bd9ce20d.zip |
Honor KDEHOME environment variable
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1176116 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'startkde')
-rw-r--r-- | startkde | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |