Subject: Re: some issue with $OPSYS ?.. (Re: package > pkgsrc feature possible?)
To: Charlie Allom <firstname.lastname@example.org>
From: Gavan Fantom <email@example.com>
Date: 02/11/2004 12:02:14
On Wed, 11 Feb 2004, Charlie Allom wrote:
> > So if you delete a binary package, make damn sure you delete anything
> > that
> > depends on it.
> so pkg_delete -r? :)
No, I actually meant something more like:
for PKG in *.tgz
for DEP in `pkg_info -qN $PKG`
if [ ! -e "$DEP.tgz" ]
echo "Deleting $PKG"
rm -f $PACKAGEDIR/*/$PKG
Gillette - the best a man can forget