[wplug] scripting help for RH updates
Brian Medley
bpm-list-wplug at 4321.tv
Wed Jul 9 16:50:40 EDT 2003
On Wed, Jul 02, 2003 at 01:46:27PM -0400, Vanco, Donald wrote:
> This is the part I want to script (and the point of this novella) -
> what would be the best (automated) method to remove the "duplicate" RPMs
> with i386 architecture? I have some ideas, but don't want to start
> arbitrarily blasting files by piping things through "rm -rf"
Here is a perl script I wrote to handle it...I've only tested on a small
input sample, tho...
--
~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-., \|/ (___) \|/ _,.-=~'`^`
Brian Medley @~./'O o`\.~@
"Knowledge is Power" brian.medley at verizon.net /__( \___/ )__\ *PPPFFBT!*
-- Francis Bacon `\__`U_/'
_,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|' ^^`'~=-.,__,.-=
~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`
-------------- next part --------------
A non-text attachment was scrubbed...
Name: updates.pl
Type: application/x-perl
Size: 1064 bytes
Desc: not available
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20030709/075b5ea3/updates-0001.bin
More information about the wplug
mailing list