On 04/25/2018 09:55 AM, Joakim Tjernlund wrote: > I have a profile.bashrc which generates INSTALL_MASK dynamically and I want > to only run that during "merge"(when INSTALL_MASK is used by portage) but > I cannot find a phase which matches.
The closest phase is pkg_preinst, so you can use [[ ${EBUILD_PHASE} == preinst ]]. Also [[ ${EBUILD_PHASE_FUNC} == pkg_preinst ]] is supported for EAPI 5 and later. > Am I missing something ? Is there some other variable I can use instead? > > Jocke > -- Thanks, Zac
signature.asc
Description: OpenPGP digital signature