diff options
Diffstat (limited to 'portato')
-rw-r--r-- | portato/backend/portage/system_22.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/portato/backend/portage/system_22.py b/portato/backend/portage/system_22.py index d720a06..f69e15c 100644 --- a/portato/backend/portage/system_22.py +++ b/portato/backend/portage/system_22.py @@ -63,3 +63,11 @@ class PortageSystem_22 (PortageSystem): def new_package (self, cpv): return PortagePackage_22(cpv) + + def get_config_path (self): + path = PortageSystem.get_config_path(self) + + if path[0] != "/": + return os.path.join(self.settings.settings["ROOT"], path) + else: + return path |