adddivert / rmalldivert

Thomas Lange lange at informatik.Uni-Koeln.DE
Mon Apr 29 19:00:57 CEST 2002


>>>>> On 25 Apr 2002 12:20:06 +0200, Kjetil Torgrim Homme <kjetilho at linpro.no> said:

    > I'd prefer

    > 3) rmdivert removes one occurence of the binary from the list.
    >      if there are any occurences left, leave the divertion in
    >      place, else restore the binary.

I'm now using following code:

for item in `$ROOTCMD dpkg-divert --list fai | awk '{ print $3 }'`; do
    rmdivert $item
done

The list in $divertlist is not used any more. All available in the CVS tree.
-- 
Gruss Thomas



More information about the linux-fai mailing list