1 |
On 04/25/2018 09:55 AM, Joakim Tjernlund wrote: |
2 |
> I have a profile.bashrc which generates INSTALL_MASK dynamically and I want |
3 |
> to only run that during "merge"(when INSTALL_MASK is used by portage) but |
4 |
> I cannot find a phase which matches. |
5 |
|
6 |
The closest phase is pkg_preinst, so you can use [[ ${EBUILD_PHASE} == |
7 |
preinst ]]. Also [[ ${EBUILD_PHASE_FUNC} == pkg_preinst ]] is supported |
8 |
for EAPI 5 and later. |
9 |
|
10 |
|
11 |
> Am I missing something ? Is there some other variable I can use instead? |
12 |
> |
13 |
> Jocke |
14 |
> |
15 |
|
16 |
|
17 |
-- |
18 |
Thanks, |
19 |
Zac |