19 lines
629 B
Tcsh
Executable File
19 lines
629 B
Tcsh
Executable File
## http://kde.ground.cz/tiki-index.php?page=Environment+Variables
|
|
## for possible entries here
|
|
|
|
## Make sure KDEDIRS is set
|
|
if ( ! $?KDEDIRS ) setenv KDEDIRS /usr
|
|
|
|
## When/if using prelinking, avoids use of kdeinit
|
|
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
|
|
|
|
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
|