aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-09-18 18:46:15 +0000
committerThierry Vignaud <tv@mandriva.org>2006-09-18 18:46:15 +0000
commitd344311bfd8a2f4352000dccbe9c333ec0999622 (patch)
treebe3b82ff03331cfa82eecea66b2d40714919915c /edit-urpm-sources.pl
parent20909e27e48c37890279f815584749ad6b16ad3c (diff)
downloadrpmdrake-d344311bfd8a2f4352000dccbe9c333ec0999622.tar
rpmdrake-d344311bfd8a2f4352000dccbe9c333ec0999622.tar.gz
rpmdrake-d344311bfd8a2f4352000dccbe9c333ec0999622.tar.bz2
rpmdrake-d344311bfd8a2f4352000dccbe9c333ec0999622.tar.xz
rpmdrake-d344311bfd8a2f4352000dccbe9c333ec0999622.zip
(easy_add_callback) fix canceling "Add"
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-xedit-urpm-sources.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index ee0a2085..4a1a8e54 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -99,6 +99,7 @@ Is it ok to continue?", $rpmdrake::mandrake_release),
want_base_distro => $want_base_distro,
transient => $mainw->{real_window},
) or return 0;
+ ref $mirror or return;
my $m = $mirror->{url};
my $is_update = $mirror->{type} eq 'updates';
$m .= '/media/main/updates' if $is_update;