diff options
Diffstat (limited to 'source/kde/post-install/kde-baseapps')
-rw-r--r-- | source/kde/post-install/kde-baseapps/profile.d/kde.csh | 12 | ||||
-rw-r--r-- | source/kde/post-install/kde-baseapps/profile.d/kde.sh | 13 |
2 files changed, 25 insertions, 0 deletions
diff --git a/source/kde/post-install/kde-baseapps/profile.d/kde.csh b/source/kde/post-install/kde-baseapps/profile.d/kde.csh new file mode 100644 index 00000000..a09579bf --- /dev/null +++ b/source/kde/post-install/kde-baseapps/profile.d/kde.csh @@ -0,0 +1,12 @@ +#!/bin/csh +# KDE additions: +if ( ! $?KDEDIRS ) then + setenv KDEDIRS /usr +endif +setenv PATH ${PATH}:/usr/lib/kde4/libexec + +if ( $?XDG_CONFIG_DIRS ) then + setenv XDG_CONFIG_DIRS ${XDG_CONFIG_DIRS}:/etc/kde/xdg +else + setenv XDG_CONFIG_DIRS /etc/xdg:/etc/kde/xdg +endif diff --git a/source/kde/post-install/kde-baseapps/profile.d/kde.sh b/source/kde/post-install/kde-baseapps/profile.d/kde.sh new file mode 100644 index 00000000..6f0199e2 --- /dev/null +++ b/source/kde/post-install/kde-baseapps/profile.d/kde.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# KDE additions: +KDEDIRS=/usr +export KDEDIRS +PATH="$PATH:/usr/lib/kde4/libexec" +export PATH +if [ ! "$XDG_CONFIG_DIRS" = "" ]; then + XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:/etc/kde/xdg +else + XDG_CONFIG_DIRS=/etc/xdg:/etc/kde/xdg +fi +export XDG_CONFIG_DIRS + |