aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2012-10-16 23:21:03 -0700
committerBrian Dolbec <dolsen@gentoo.org>2012-10-16 23:21:03 -0700
commit8d66d64d26b80c336661beb03e5b3c0dfe491c50 (patch)
treee4958dbc2a1616bde76df6c75c18e2b3708b1a5d
parentupdate the make.conf path to the new /etc/portage one. Thanks kurly for repo... (diff)
downloadlayman-8d66d64d26b80c336661beb03e5b3c0dfe491c50.tar.gz
layman-8d66d64d26b80c336661beb03e5b3c0dfe491c50.tar.bz2
layman-8d66d64d26b80c336661beb03e5b3c0dfe491c50.zip
update the make.conf path to the correct one.
-rw-r--r--layman/makeconf.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/layman/makeconf.py b/layman/makeconf.py
index 7eca2cd..5f18b63 100644
--- a/layman/makeconf.py
+++ b/layman/makeconf.py
@@ -5,7 +5,7 @@
#################################################################################
# File: makeconf.py
#
-# Handles modifications to /etc/make.conf
+# Handles modifications to /var/layman/make.conf
#
# Copyright:
# (c) 2005 - 2009 Gunnar Wrobel
@@ -29,7 +29,7 @@ from layman.utils import path
class MakeConf:
'''
- Handles modifications to /etc/make.conf
+ Handles modifications to /var/layman/make.conf
Check that an add/remove cycle does not modify the make.conf:
@@ -152,7 +152,7 @@ class MakeConf:
def read(self, raise_error=False):
'''
- Read the list of registered overlays from /etc/make.conf.
+ Read the list of registered overlays from /var/layman/make.conf.
>>> here = os.path.dirname(os.path.realpath(__file__))
>>> config = {'installed' :
@@ -211,7 +211,7 @@ class MakeConf:
def write(self):
'''
- Write the list of registered overlays to /etc/make.conf.
+ Write the list of registered overlays to /var/layman/make.conf.
>>> import tempfile
>>> tmpdir = tempfile.mkdtemp(prefix="laymantmp_")
@@ -281,7 +281,7 @@ class MakeConf:
def content(self):
'''
- Returns the content of the /etc/make.conf file.
+ Returns the content of the /var/layman/make.conf file.
'''
try:
make_conf = codecs.open(self.path, 'r', 'utf-8')