summaryrefslogtreecommitdiff
path: root/portato/backend/portage
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-08-10 22:02:18 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-08-10 22:02:18 +0200
commitc6c142f12f2cb032867e793e7ec12f664837a82b (patch)
tree8339896a1f9196d813543928d1533b83c11447b8 /portato/backend/portage
parent660d57e1e15ddff799cb7f8871581d986ed12524 (diff)
downloadportato-c6c142f12f2cb032867e793e7ec12f664837a82b.tar.gz
portato-c6c142f12f2cb032867e793e7ec12f664837a82b.tar.bz2
portato-c6c142f12f2cb032867e793e7ec12f664837a82b.zip
Newer portage versions only return a relative config path.
Diffstat (limited to 'portato/backend/portage')
-rw-r--r--portato/backend/portage/system_22.py8
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
follow=1'>Bump github.com/emersion/go-message from 0.13.0 to 0.14.0 (#38)dependabot[bot]2-3/+9 2020-11-28Bump github.com/google/go-cmp from 0.5.2 to 0.5.4 (#37)dependabot[bot]2-3/+3 2020-11-23Fix release.ymlv0.5.2René 'Necoro' Neumann1-3/+10 2020-11-23Prepare v0.5.2René 'Necoro' Neumann3-3/+8 2020-11-20Bump github.com/gabriel-vasile/mimetype from 1.1.1 to 1.1.2dependabot[bot]2-3/+3 2020-11-04Clean dependabot.ymlRené 'Necoro' Neumann1-4/+0