2007-05-15 18:58:25 +00:00
|
|
|
## http://kde.ground.cz/tiki-index.php?page=Environment+Variables
|
|
|
|
## for possible entries here
|
2006-05-16 14:56:43 +00:00
|
|
|
|
2007-05-15 18:58:25 +00:00
|
|
|
## Make sure KDEDIRS is set
|
|
|
|
[ -z "$KDEDIRS" ] && KDEDIRS="/usr" && export KDEDIRS
|
2007-09-20 14:37:35 +00:00
|
|
|
|
|
|
|
## When/if using prelinking, avoids (some) use of kdeinit
|
2009-01-23 18:59:58 +00:00
|
|
|
if [ -z "$KDE_IS_PRELINKED" ] ; then
|
|
|
|
grep -qs '^PRELINKING=yes' /etc/sysconfig/prelink && \
|
|
|
|
KDE_IS_PRELINKED=1 && export KDE_IS_PRELINKED
|
2007-09-20 14:37:35 +00:00
|
|
|
fi
|
2007-12-01 19:43:21 +00:00
|
|
|
|
2009-01-23 18:59:58 +00:00
|
|
|
|
|
|
|
# handled in startkde, but this sets for other DE's too
|
|
|
|
if [ -n "$QT_PLUGIN_PATH" ] ; then
|
|
|
|
if ! echo "$QT_PLUGIN_PATH" | grep -qw `kde4-config --path qtplugins` ; then
|
|
|
|
QT_PLUGIN_PATH="$QT_PLUGIN_PATH:`kde4-config --path qtplugins`"
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
QT_PLUGIN_PATH="`kde4-config --path qtplugins`"
|
2007-12-01 19:43:21 +00:00
|
|
|
fi
|
2009-01-23 18:59:58 +00:00
|
|
|
export QT_PLUGIN_PATH
|
|
|
|
|