diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-07 19:10:38 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-07 19:10:38 -0600 |
commit | 99cc03399059853dd8699cae5752e8122cb715f1 (patch) | |
tree | 825da375ac05fc555e25b2e350504e211d85d2fb /kinit/kstartupconfig.cpp | |
parent | d5b3ae721dc072e0c70055313de9b5228b6688a8 (diff) | |
download | tdelibs-99cc03399059853dd8699cae5752e8122cb715f1.tar.gz tdelibs-99cc03399059853dd8699cae5752e8122cb715f1.zip |
Rename KDEHOME and KDEDIR
Diffstat (limited to 'kinit/kstartupconfig.cpp')
-rw-r--r-- | kinit/kstartupconfig.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kinit/kstartupconfig.cpp b/kinit/kstartupconfig.cpp index 288c52288..3e4d68156 100644 --- a/kinit/kstartupconfig.cpp +++ b/kinit/kstartupconfig.cpp @@ -28,10 +28,10 @@ This utility helps to have some configuration options available in starttde without the need to launch anything linked to KDE libraries (which may need some time to load). -The configuration options are written to $KDEHOME/share/config/startupconfigkeys, +The configuration options are written to $TDEHOME/share/config/startupconfigkeys, one option per line, as <file> <group> <key> <default>. It is possible to use ' for quoting multiword entries. Values of these options will be written -to $KDEHOME/share/config/startupconfig as a shell script that will set +to $TDEHOME/share/config/startupconfig as a shell script that will set the values to shell variables, named <file>_<group>_<key> (all spaces replaced by underscores, everything lowercase). So e.g. line "ksplashrc KSplash Theme Default" may result in "ksplashrc_ksplash_theme=Default". @@ -76,8 +76,8 @@ Otherwise kdostartupconfig is launched to create or update all the necessary fil int main() { char kdehome[ 1024 ]; - if( getenv( "KDEHOME" )) - strlcpy( kdehome, getenv( "KDEHOME" ), 1024 ); + if( getenv( "TDEHOME" )) + strlcpy( kdehome, getenv( "TDEHOME" ), 1024 ); else if( getenv( "HOME" )) { strlcpy( kdehome, getenv( "HOME" ), 1024 ); |