-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike Frysinger wrote:
> i thought about this some more ... why do we even care about the mtimes 
> during 
> package merge ?  if a package doesnt install any files into a libdir, why 
> should we bother running ldconfig ?  if a user updated the dirs, then they 
> can either run ldconfig or env-update ...
> 
> so imo, the logic should be:
> if srcroot is None:
>       <mtime checks>
> else:
>       <libdir existence checks>
> -mike

Yeah, I think that's correct.  Also, even though we don't need to check the 
mtimes when srcroot is defined, we can still update the mtimes in the mtimedb 
to the current values in order to avoid an unnecessary ldconfig run on the next 
env_update call.

Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFELvvv/ejvha5XGaMRAkfeAKDap/igAIOgLo/8jgPz0gTB3q/D6ACfXvcJ
jJJBUpH8SttC3VY0WmWSyjE=
=iYDT
-----END PGP SIGNATURE-----
-- 
gentoo-portage-dev@gentoo.org mailing list

Reply via email to