From 64bb8dbff19ea55b772912686817fc15e9253e13 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Mon, 21 Oct 2019 17:09:38 +0100 Subject: Fix test for whether any 32-bit packages are installed. (cherry picked from commit b4fdc9137e3797c61f735feec430288ecac3ab0f) --- urpm/media.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm') diff --git a/urpm/media.pm b/urpm/media.pm index 4b9d887e..24e56ba1 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -773,7 +773,7 @@ sub needed_extra_media { my ($nonfree, $tainted, $add32bit); $db->traverse(sub { my ($pkg) = @_; - return if $nonfree && $tainted; + return if $nonfree && $tainted && $add32bit; my $rel = $pkg->release; $nonfree ||= $rel =~ /nonfree$/; $tainted ||= $rel =~ /tainted$/; -- cgit v1.2.1