|
|
|
@ -329,8 +329,8 @@ static const char *xdgConfigFolder()
|
|
|
|
|
#else
|
|
|
|
|
/*
|
|
|
|
|
Hmm... for 'root' dont bother to check env var, just set to ~/.config
|
|
|
|
|
- as problems would arise if "sudo kcmshell style", and then
|
|
|
|
|
"sudo su" / "kcmshell style". The 1st would write to ~/.config, but
|
|
|
|
|
- as problems would arise if "sudo tdecmshell style", and then
|
|
|
|
|
"sudo su" / "tdecmshell style". The 1st would write to ~/.config, but
|
|
|
|
|
if root has a XDG_ set then that would be used on the second :-(
|
|
|
|
|
*/
|
|
|
|
|
char *env=0==getuid() ? NULL : getenv("XDG_CONFIG_HOME");
|
|
|
|
|