On Fri, 24 Feb 2012 18:56:44 +0100 ""Paweł Hajdan, Jr."" <phajdan...@gentoo.org> wrote:
> Currently preserve_old_lib functions generate two commands per > preserved lib: > > # revdep-rebuild --library '/usr/lib/libv8.so.3.9.4' > # rm '/usr/lib/libv8.so.3.9.4' > > I'd like to modify eutils.eclass to only generate one command: > > # revdep-rebuild --library '/usr/lib/libv8.so.3.9.4' && \ > rm '/usr/lib/libv8.so.3.9.4' > > What do you think? > +1 moreover the && wont delete the lib if revdep-rebuild failed i think, so it should be even safer to copy/paste :) A.