diff options
-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 |