Subject: Re: How to quarterly update
To: None <tech-pkg@NetBSD.org>
From: George Georgalis <george@galis.org>
List: tech-pkg
Date: 11/08/2005 13:36:04
On Tue, Nov 08, 2005 at 09:38:19AM -0800, Jeremy C. Reed wrote:
>On Tue, 8 Nov 2005, George Georgalis wrote:
>
>>for m in $( for n in `pkg_info | sed -e 's/ .*//' -e 's/-[^-]*$//' ` ; 
>>do find /usr/pkgsrc -maxdepth 2 -name $n ; done ); do cd $m && make 
>>clean ; done
>
>Instead of repeatedly using find to look for matching directory name, just 
>use:
>
>pkg_info -Q PKGPATH -a
>
>(That won't help with renamed directories, but hopefully that won't hit 
>you often.)


I looked for that (but not in the -Q switch...), thanks.

Though I'm not sure what to do about renamed directories. If it's
a subdirectory of a package, they should be taken care of with a
cvs update, make clean, upgrade cycle.  But should a package get
renamed, what would lintpkgsrc say? pkg_info? pkg_delete?

...guess I could try it later tonight.

// George


-- 
George Georgalis, systems architect, administrator <IXOYE><
http://galis.org/ cell:646-331-2027 mailto:george@galis.org