From e0f12ac23154baf04f4c82146501450103a8b12a Mon Sep 17 00:00:00 2001 From: dol-sen Date: Tue, 9 Aug 2011 08:05:32 -0700 Subject: make EPREFIX test code eprefixy proof --- layman/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layman/config.py b/layman/config.py index 1187f78..9d212e2 100644 --- a/layman/config.py +++ b/layman/config.py @@ -61,7 +61,7 @@ def read_layman_config(config=None, defaults=None): EPREFIX = "@GENTOO_PORTAGE_EPREFIX@" # check and set it if it wasn't -if EPREFIX == "@GENTOO_PORTAGE_EPREFIX@": +if "GENTOO_PORTAGE_EPREFIX" in EPREFIX: EPREFIX = '' -- cgit v1.2.3-1-g7c22