From 50475a64952b92f7bd0a001315196f3fd599a4ba Mon Sep 17 00:00:00 2001 From: serkus01 <7erkus@gmail.com> Date: Tue, 25 Jan 2022 05:49:49 +0900 Subject: [PATCH] fix poartgeConf --- config.json | 7 ++++++- utils/parsePortage.py | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index 304825f..3694a82 100644 --- a/config.json +++ b/config.json @@ -5,6 +5,11 @@ "THEME": "default" }, "Portage":{ - "make.conf":"/etc/portage/make.conf/custom" + "rootPth":"/etc/portgage", + "make.conf":"/etc/portage/make.conf/custom", + "package.accept_keywords":"/etc/portage/package.accept_keywords/custom", + "package.mask":"/etc/portage/package.mask", + "package.unmask":"/etc/portage/package.unmask/custom", + "":"", } } \ No newline at end of file diff --git a/utils/parsePortage.py b/utils/parsePortage.py index f77a423..48b604c 100644 --- a/utils/parsePortage.py +++ b/utils/parsePortage.py @@ -46,7 +46,7 @@ class PortageConfig(): def parsePackageMasks(self): Lines = self.getlines(self.Config.Portage['package.mask']) def parsePackageKeywords(self): - Lines = self.getlines(self.Config.Portage['package.keywords']) + Lines = self.getlines(self.Config.Portage['package.accept_keywords']) if __name__ == '__main__': Test = PortageConfig()