d88d9d1
## http://kde.ground.cz/tiki-index.php?page=Environment+Variables
d88d9d1
## for possible entries here
d88d9d1
21ebce8
## Make sure KDEDIRS is set
21ebce8
if ( ! $?KDEDIRS ) setenv KDEDIRS /usr
21ebce8
a7e893c
## When/if using prelinking, avoids use of kdeinit
21ebce8
if ( -f /etc/sysconfig/prelink ) then
21ebce8
   set PRELINKING = `grep "^PRELINKING=" /etc/sysconfig/prelink | cut -d"=" -f2`
21ebce8
   if ( "$PRELINKING" == "yes" )  then
21ebce8
     if ( ! $?KDE_IS_PRELINKED ) setenv KDE_IS_PRELINKED 1
21ebce8
   endif
21ebce8
endif
3969fb9
a7e893c
if ( ! $?QT_PLUGIN_PATH ) then
a7e893c
  set KDE4_LIBDIR = `/bin/rpm --eval %\{\?_kde4_libdir\}%\{\!\?_kde4_libdir:%\{_libdir\}\}`
a7e893c
  setenv QT_PLUGIN_PATH ${KDE4_LIBDIR}/kde4/plugins
a7e893c
endif