diff options
-rw-r--r-- | startkde | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -188,10 +188,12 @@ fi if test -n "$KDEDIRS"; then kdedirs_first=`echo "$KDEDIRS"|sed -e 's/:.*//'` KGTK_RC_ENGINE=$kdedirs_first/share/kgtk/gtk-qt-engine.rc.sh - KGTK_RC_KDE=$kdedirs_first/share/kgtk/.gtkrc-2.0-kde + KGTK_RC_KDE1=$kdedirs_first/share/kgtk/.gtkrc-2.0-kde4 + KGTK_RC_KDE2=$kdedirs_first/share/kgtk/.gtkrc-2.0-kde-kde4 else KGTK_RC_ENGINE=$KDEDIR/share/kgtk/gtk-qt-engine.rc.sh - KGTK_RC_KDE=$KDEDIR/share/kgtk/.gtkrc-2.0-kde + KGTK_RC_KDE1=$KDEDIR/share/kgtk/.gtkrc-2.0-kde4 + KGTK_RC_KDE2=$KDEDIR/share/kgtk/.gtkrc-2.0-kde-kde4 fi if [ ! -e $kdehome/env/gtk-qt-engine.rc.sh ] && [ -e $KGTK_RC_ENGINE ] @@ -201,9 +203,14 @@ then chmod 755 $kdehome/env/gtk-qt-engine.rc.sh fi -if [ ! -e $HOME/.gtkrc-2.0-kde ] && [ -e $KGTK_RC_KDE ] +if [ ! -e $HOME/.gtkrc-2.0-kde4 ] && [ -e $KGTK_RC_KDE1 ] then - cp -f $KGTK_RC_KDE $HOME + cp -f $KGTK_RC_KDE1 $HOME +fi + +if [ ! -e $HOME/.gtkrc-2.0-kde-kde4 ] && [ -e $KGTK_RC_KDE2 ] +then + cp -f $KGTK_RC_KDE2 $HOME fi # Source scripts found in <localprefix>/env/*.sh and <prefixes>/env/*.sh |