Bug#225947: apt-utils: please support architecture-specific extra overrides
On Sat, Jan 03, 2004 at 07:46:00PM -0800, Matt Zimmerman wrote:
> On Sat, Jan 03, 2004 at 12:39:06PM +1000, Anthony Towns wrote:
> > abiword/i386 Task desktop
> > abiword-gnome/i386 Task desktop
> Does this do what you want?
God, I hope not. Please don't let it be *quite* that easy.
> - inline Item *GetItem(string Package)
> + inline Item *GetItem(string Package,string Architecture)
> {
> map<string,Item>::iterator I = Mapping.find(Package);
> if (I == Mapping.end())
> - return 0;
> + {
> + I = Mapping.find(Package + "/" + Architecture);
> + if (I == Mapping.end())
> + {
> + return 0;
> + }
> + }
Does this still work with:
abiword Task desktop
lilo/i386 Task bootup
?
Hrm, I guess it does. I'll give it a try shortly.
Cheers,
aj
--
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.
Linux.conf.au 2004 -- Because we can.
http://conf.linux.org.au/ -- Jan 12-17, 2004
Reply to: