From 185427b2a43884acb83085738dde44ed245bee15 Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Thu, 25 Jan 2007 21:53:25 +0000 Subject: [PATCH] Fix automatic path detection to account for new location svn path=/main/trunk/; revision=5789 --- pym/portage/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/const.py b/pym/portage/const.py index e1af7cb44..fa1187fa7 100644 --- a/pym/portage/const.py +++ b/pym/portage/const.py @@ -20,7 +20,7 @@ MODULES_FILE_PATH = USER_CONFIG_PATH+"/modules" CUSTOM_PROFILE_PATH = USER_CONFIG_PATH+"/profile" #PORTAGE_BASE_PATH = "/usr/lib/portage" -PORTAGE_BASE_PATH = os.path.join(os.sep, os.sep.join(__file__.split(os.sep)[:-2])) +PORTAGE_BASE_PATH = os.path.join(os.sep, os.sep.join(__file__.split(os.sep)[:-3])) PORTAGE_BIN_PATH = PORTAGE_BASE_PATH+"/bin" PORTAGE_PYM_PATH = PORTAGE_BASE_PATH+"/pym" NEWS_LIB_PATH = "/var/lib/gentoo" -- 2.26.2