diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2010-04-23 01:03:17 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2010-04-23 01:03:17 +0200 |
commit | 755323a95128d3c42108ce55befaf766fc19f306 (patch) | |
tree | e58d45110551ee8be05d53aaa8b75ab4a012df83 /portato/constants.py | |
parent | 6021507f58e9a30cb0324270c8e27aa0a0691a8c (diff) | |
parent | 3fddc267618c034aae980060e560ce80ba20cbe6 (diff) | |
download | portato-755323a95128d3c42108ce55befaf766fc19f306.tar.gz portato-755323a95128d3c42108ce55befaf766fc19f306.tar.bz2 portato-755323a95128d3c42108ce55befaf766fc19f306.zip |
Merge branch '0.14'
* 0.14:
new version plugin showed the versions in the wrong order
Clearer debug message for packages not in mergequeue
Reset HOME to /root for root
Small error in sqldb
Updated french translation to current translation status.
Typo in TRANSLATORS
Updated portguese translation
Diffstat (limited to 'portato/constants.py')
-rw-r--r-- | portato/constants.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/portato/constants.py b/portato/constants.py index a8e930c..059017e 100644 --- a/portato/constants.py +++ b/portato/constants.py @@ -50,6 +50,10 @@ These should be set during the installation. import os from os.path import join as pjoin +# ktsuss does not reset this correctly +if os.getuid() == 0: + os.environ["HOME"] = "/root" + # icons ICON_DIR = "icons/" APP_ICON = pjoin(ICON_DIR, "portato-icon.png") |