1 |
In /etc/portage/profile, we already have support for using directories |
2 |
in the place of regular config files (portage1_directories = True). So, |
3 |
go ahead and enable package.bashrc there too. |
4 |
|
5 |
We could also support /etc/portage/package.bashrc, but that would be |
6 |
more complicated since /etc/portage/bashrc is the long-standing location |
7 |
of the user's bashrc which applies to all packages, and package.bashrc |
8 |
would instead expect /etc/portage/bashrc to be a directory containing |
9 |
per-package bashrc files. So for now, we only support package.bashrc |
10 |
inside /etc/portage/profile. |
11 |
--- |
12 |
pym/portage/package/ebuild/_config/LocationsManager.py | 3 ++- |
13 |
1 file changed, 2 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/pym/portage/package/ebuild/_config/LocationsManager.py b/pym/portage/package/ebuild/_config/LocationsManager.py |
16 |
index 8bf321c..6280a42 100644 |
17 |
--- a/pym/portage/package/ebuild/_config/LocationsManager.py |
18 |
+++ b/pym/portage/package/ebuild/_config/LocationsManager.py |
19 |
@@ -132,7 +132,8 @@ class LocationsManager(object): |
20 |
self.user_profile_dir = custom_prof |
21 |
self.profiles.append(custom_prof) |
22 |
self.profiles_complex.append( |
23 |
- _profile_node(custom_prof, True, True, ())) |
24 |
+ _profile_node(custom_prof, True, True, |
25 |
+ ('profile-bashrcs',))) |
26 |
del custom_prof |
27 |
|
28 |
self.profiles = tuple(self.profiles) |
29 |
-- |
30 |
2.0.4 |