Re: Cleaning older versions of patches out of cache

Bernd Felsche <[email protected]>(by way of Bernd Felsche <[email protected]>) Sun, 2 May 2004 01:36:04 +0800
Newsgroups gmane.linux.suse.fou4s.devel
Organization Innovative Reckoning
Message-ID <[email protected]>
IMPORTANT NOTE!!

I wrote:

> So I got desperate and did:
> 	# cd /var/cache/fou4s/packages/mirror.aarnet.edu.au/i386/update/8.0
> 	# rm patches/*
> 	# fou4s -u
> 	# for r in */*.rpm ; do
> 	> egrep "^InstPath: $r\$" patches/* || rm $r
> 	> done
> 	#

The above will only work with that version of SuSE.

Directory structure is a bit different for later versions.
Patch description file format is also different.

--
/"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia
\ /  ASCII ribbon campaign | I'm a .signature virus!
 X   against HTML mail     | Copy me into your ~/.signature
/ \  and postings          | to help me spread!


--