James Antill wrote:
On Tue, 2007-07-24 at 16:45 +0200, Adel Gadllah wrote:
        if cmd[0] == "install":
                for userpkg in cmd:
                        if not re.search("i?86$", userpkg):
exclude.append(userpkg)

 This is a bit of a hack, and does bad things if you install the plugin
on an i386 box. At the very least you want to wrap the whole thing in a
test like:

if os.uname()[-1] == 'x86_64':

...but while x86_64 is the common platform with multiarch, there are
others, and it'd be good if the plugin did the right thing.

The right thing would be to finally fix the multilib behavior of yum... And I'd guess that the "update" cases are even more interesting/anoying.

Florian
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to