Raphael Manfredi wrote: > I wrote a little perl script to do the conversion. God bless you for > using a text file for the database and not some binary format: > > --------------------------- > #!/usr/bin/perl > > use strict; > > my @lines; > my $seen_arch = 0; > > while (<>) { > push (@lines, $_); > $seen_arch ||= /^Architecture:/; > if (/^$/) { > foreach my $line (@lines) { > print $line; > if (!$seen_arch && $line =~ /^Maintainer:/) { > print "Architecture: i386\n"; > $seen_arch = 1; > } > } > @lines = (); > $seen_arch = 0; > } > }
Forwarding to the bug log. Maybe some interested person could use this to get started on writing some code for the post-installation script to run on upgrade from older versions. -- To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org