diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-11-16 18:11:28 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-11-16 18:11:28 +0000 |
commit | 7820c891d88f3ae2913119817657512bf04bb58f (patch) | |
tree | 7e1a94e2af8a48f6cb4b740eb5a66f49ed21ff42 /rpmdrake.pm | |
parent | 8185c937488111af37b464b05d9d8883d627c912 (diff) | |
download | rpmdrake-7820c891d88f3ae2913119817657512bf04bb58f.tar rpmdrake-7820c891d88f3ae2913119817657512bf04bb58f.tar.gz rpmdrake-7820c891d88f3ae2913119817657512bf04bb58f.tar.bz2 rpmdrake-7820c891d88f3ae2913119817657512bf04bb58f.tar.xz rpmdrake-7820c891d88f3ae2913119817657512bf04bb58f.zip |
The software media manager shouldn't die when it can't add a media
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 |