summaryrefslogtreecommitdiff
path: root/portato/backend
diff options
context:
space:
mode:
authorNecoro <>2008-01-23 23:12:52 +0000
committerNecoro <>2008-01-23 23:12:52 +0000
commitfceb850b55ddf4109905ec939f1e8d06ee651f92 (patch)
tree1772b93bfad9ad3d62448d7ac91ddb725ae5815c /portato/backend
parentc2ef204f52a76f529d7ce17d9eb94077a2e15467 (diff)
downloadportato-fceb850b55ddf4109905ec939f1e8d06ee651f92.tar.gz
portato-fceb850b55ddf4109905ec939f1e8d06ee651f92.tar.bz2
portato-fceb850b55ddf4109905ec939f1e8d06ee651f92.zip
r707@Devoty: necoro | 2008-01-24 00:00:22 +0100
small patch for get_actual_use_flag taking into account that a package might not be in system anymore r708@Devoty: necoro | 2008-01-24 00:11:23 +0100 EmergeQueue.is_empty() now honors all queues
Diffstat (limited to '')
-rw-r--r--portato/backend/portage/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/backend/portage/package.py b/portato/backend/portage/package.py
index 845cc0b..42badbe 100644
--- a/portato/backend/portage/package.py
+++ b/portato/backend/portage/package.py
@@ -55,7 +55,7 @@ class PortagePackage (Package):
self._status = None
def _init_settings (self, installed):
- inst = installed and self.is_installed()
+ inst = (installed and self.is_installed()) or (self.is_installed() and not self.is_in_system())
if self._settings_installed is not None and self._settings_installed != inst:
self._settings.settings.reset()