From 7820c891d88f3ae2913119817657512bf04bb58f Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Tue, 16 Nov 2004 18:11:28 +0000 Subject: The software media manager shouldn't die when it can't add a media --- rpmdrake.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpmdrake.pm b/rpmdrake.pm index 1c254cd9..453b4a8b 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -561,7 +561,7 @@ sub update_sources { my ($type, $media) = @_; return if $type !~ /^(?:start|progress|end)$/ && @media && !grep { $_ eq $media } @media; if ($type eq 'failed') { - fatal_msg(N("Error retrieving packages"), + $urpm->{fatal}->(N("Error retrieving packages"), N("It's impossible to retrieve the list of new packages from the media `%s'. Either this update media is misconfigured, and in this case you should use the Software Media Manager to remove it and re-add it in order -- cgit v1.2.1