On Mon, 08 Aug 2005 13:59:26 -0400, Matt Randolph wrote:
> How the heck do you remove the old built binaries? They aren't simply
> put in '${PKGDIR}/All' like the manual says. There are a bunch of
> places that the different pieces go. A bunch of symlinks and new
> directories are created too, IIRC.
The packages go in ${PKGDIR}/All, the rest are just symlinks. Remove the
packages from All then delete the dangling symlinks with
symlinks -dr ${PKGDIR}
emerge symlinks if you don't already have it.
Or you can do it automatically with
qpkg -I -nc -v | while read p; do
touch --no-create $PKGDIR/$p.tbz2
touch --no-create $PKGDIR/All/$(basename $p).tbz2
done
find $PKGDIR ! -mtime +1 -exec rm "{}" \;
--
Neil Bothwick
Why do Kennedy's cry after sex? ..... Mace!
pgp6D6N7utSpJ.pgp
Description: PGP signature

