summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNecoro <>2007-10-08 16:56:12 +0000
committerNecoro <>2007-10-08 16:56:12 +0000
commit0abea23fb64b0ab008ec66a326b07b53737024c8 (patch)
tree73db66f47f38707521051f3d54aeb5835594a9e8
parentf8724de3c70d660b86590e961493e32d0385677f (diff)
downloadportato-0abea23fb64b0ab008ec66a326b07b53737024c8.tar.gz
portato-0abea23fb64b0ab008ec66a326b07b53737024c8.tar.bz2
portato-0abea23fb64b0ab008ec66a326b07b53737024c8.zip
make it work w/ root
Diffstat (limited to '')
-rw-r--r--doc/Changelog1
-rw-r--r--doc/TODO6
-rwxr-xr-xportato.py4
3 files changed, 7 insertions, 4 deletions
diff --git a/doc/Changelog b/doc/Changelog
index 960f46c..31a9a92 100644
--- a/doc/Changelog
+++ b/doc/Changelog
@@ -3,6 +3,7 @@ next:
- adding support for the "--with-bdeps=y" option in EMERGE_DEFAULT_OPTS
- fix update world
- added support for pygtksourceview-2
+- adding support for the catapult backend
0.8.5:
- added an uncaught exception dialog
diff --git a/doc/TODO b/doc/TODO
index 40f2b78..720a5c4 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -4,9 +4,9 @@ Documentation:
Backend:
========
-- add Paludis support
-- add pkgcore support
-- add equo support
+- add Paludis support \
+- add pkgcore support |-> not necessairy if catapult is used
+- add equo support /
- bugs in update world (Necoro, 04/20/07: are there any more bugs?)
- fix for flag handling, when reverting flags (Necoro, 04/20/07: what did i mean by this?)
diff --git a/portato.py b/portato.py
index da1ed88..765e070 100755
--- a/portato.py
+++ b/portato.py
@@ -103,7 +103,9 @@ def main ():
additional.extend(["-f", options.frontend])
cmd = SU_COMMAND.split()
- os.execvpe(cmd[0], cmd+["%s --no-listener %s" % (sys.argv[0], " ".join(additional))], env = os.environ)
+ env = os.environ.copy()
+ env.update(DBUS_SESSION_BUS_ADDRESS="")
+ os.execvpe(cmd[0], cmd+["%s --no-listener %s" % (sys.argv[0], " ".join(additional))], env = env)
else: # start listener
listener.set_recv()