summaryrefslogtreecommitdiff
path: root/portato/backend
diff options
context:
space:
mode:
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()