2007-07-29 19:46:14 +00:00
|
|
|
## http://kde.ground.cz/tiki-index.php?page=Environment+Variables
|
|
|
|
## for possible entries here
|
|
|
|
|
2007-08-03 18:19:59 +00:00
|
|
|
## Make sure KDEDIRS is set
|
2007-07-29 19:46:14 +00:00
|
|
|
if ( ! $?KDEDIRS ) setenv KDEDIRS /usr
|
|
|
|
|
2007-08-03 18:19:59 +00:00
|
|
|
## When/if using prelinking, avoids use of kdeinit
|
2007-09-13 08:04:47 +00:00
|
|
|
if ( -f /etc/sysconfig/prelink ) then
|
|
|
|
set PRELINKING = `grep "^PRELINKING=" /etc/sysconfig/prelink | cut -d"=" -f2`
|
|
|
|
if ( "$PRELINKING" == "yes" ) then
|
|
|
|
if ( ! $?KDE_IS_PRELINKED ) setenv KDE_IS_PRELINKED 1
|
|
|
|
endif
|
|
|
|
endif
|
2007-07-29 19:46:14 +00:00
|
|
|
|
2007-08-03 18:19:59 +00:00
|
|
|
## if not using IP6, speeds DNS operations
|
|
|
|
# # if ( ! $?KDE_NO_IPV6 ) setenv KDE_NO_IPV6 1
|
|
|
|
|
|
|
|
## fork io slaves from prog, not kdeinit. may help selinux. (experimental)
|
2007-07-29 19:46:14 +00:00
|
|
|
# don't enable until http://bugs.kde.org/88557 is fixed
|
|
|
|
# if ( ! $?KDE_FORK_SLAVES ) setenv KDE_FORK_SLAVES 1
|
|
|
|
|
2007-09-13 04:50:36 +00:00
|
|
|
if ( ! $?QT_PLUGIN_PATH ) then
|
|
|
|
set KDE4_LIBDIR = `/bin/rpm --eval %\{\?_kde4_libdir\}%\{\!\?_kde4_libdir:%\{_libdir\}\}`
|
|
|
|
setenv QT_PLUGIN_PATH ${KDE4_LIBDIR}/kde4/plugins
|
|
|
|
endif
|