Write a wrapper for emerge.
(example for updating a package):
First, get the output of emerge -fup PACKAGE. Use basename to get the
filename. Save that in a variable.
Second, emerge -u PACKAGE && (for f in $FILES; do rm -f $f; done)
On Sat, 12 Nov 2005, Pingveno wrote:
Dale wrote:
Hi all,
I am putting Gentoo on a fairly small hard drive. I would like to clean
out distfiles to save room. I would like to tell it to download the
source file then delete it when the compile is finished. I looked in
the make.conf.example but I didn't see anything that tells it to do that.
Is there a way to do this?
Thanks
Dale
: -)
As a horrible, horrible hack, you could just write a shell script to be run
by crond. I'm sure there's something better, though.
--
gentoo-user@gentoo.org mailing list
--
gentoo-user@gentoo.org mailing list