summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevan Franchini <twitch153@gentoo.org>2015-02-07 22:42:40 -0500
committerDevan Franchini <twitch153@gentoo.org>2015-02-07 22:44:40 -0500
commit8b9f365238cb372fd104f640d6471ae4b93da352 (patch)
treed07f7126a407a10dc484f8e3b8f7d73ed016ad96
parentconfig_modules/reposconf/reposconf.py: Sort the overlays (diff)
downloadlayman-8b9f365238cb372fd104f640d6471ae4b93da352.tar.gz
layman-8b9f365238cb372fd104f640d6471ae4b93da352.tar.bz2
layman-8b9f365238cb372fd104f640d6471ae4b93da352.zip
makeconf.py: Rewrites overlay names to make.conf
If make.conf is not present on the system and layman-updater is ran then the presently installed overlays will be written to the make.conf file.
-rw-r--r--layman/config_modules/makeconf/makeconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/layman/config_modules/makeconf/makeconf.py b/layman/config_modules/makeconf/makeconf.py
index 6a6890c..bb12bc9 100644
--- a/layman/config_modules/makeconf/makeconf.py
+++ b/layman/config_modules/makeconf/makeconf.py
@@ -255,7 +255,7 @@ class ConfigHandler:
self.extra.append(o)
else:
- self.overlays = []
+ self.overlays = [self.db[i] for i in self.db]
self.data = 'PORTDIR_OVERLAY="\n"\n'
self.extra = [i for i in self.extra