Very nice!

Thanks, I had started to think some more about the problem, and
you have solved it most elequently.

Lincoln


On Fri, 2003-06-13 at 18:16, [EMAIL PROTECTED] wrote:
> On Thu, Jun 12, 2003 at 11:00:58AM -0700, Zack Gilburd wrote:
> Content-Description: signed data
> > On Thursday 12 June 2003 07:58, keanu wrote:
> > > On Wednesday 11 June 2003 20:51, Jose Romildo Malaquias wrote:
> > > > Does anybody has a script for removing old
> > > > files from /usr/portage/packages ?
> > > >
> > > > I have been accumalating package files (*.tbz2)
> > > > produced by emerge whith the --buildpkg option.
> > > > Now I want to (automatically) remove the older
> > > > ones if there are different versions for the
> > > > same package.
> > >
> > > There are a few scripts on the gentoo forums (some better then others)
> > > under the Documentation, Tips & Tricks section if i'm not mistaken (you'll
> > > find alot of usefull stuff there)
> > >
> > > i don't have time to look for the actual script, but it shouldn't be hard
> > > to find
> > 
> > Unfortunately, the only scripts that I could find that would be even close to 
> > fitting the bill aren't for /usr/portage/packages, but rather they're for 
> > /usr/portage/distfiles.
> 
> In the topic discussed at http://forums.gentoo.org/viewtopic.php?t=23027
> there is two scripts for cleaning both the distfiles and the packages
> subdirectories of the portage directory, based on which packages
> are not currently installed.
> 
> In the topic http://forums.gentoo.org/viewtopic.php?t=3011 one can
> find also a script for cleaning the distfiles subdirectory, based on the
> existence of a related ebuild in the portage hierarchy. I have
> adapted it for cleaning the packages subdirectory. Those scripts
> are more conservative as they keep any distfile or package file
> for which there is an ebuild. Those scripts are attached. They
> do not remove the files itself, but outputs their name to the
> standard output.
> 
> Romildo
-- 
Lincoln A. Baxter <[EMAIL PROTECTED]>


--
[EMAIL PROTECTED] mailing list

Reply via email to