diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-10-04 12:45:18 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-10-04 12:45:18 +0000 |
commit | 64c7e89d75cc624318c6781a7c9ca597c9ab494d (patch) | |
tree | 5d8af9dd65043c3ac6cfe7f57c599c05750280ec | |
parent | 2b6a1c46f8b53be96fdc06c469b13a78bf7faf6c (diff) | |
download | rpmdrake-64c7e89d75cc624318c6781a7c9ca597c9ab494d.tar rpmdrake-64c7e89d75cc624318c6781a7c9ca597c9ab494d.tar.gz rpmdrake-64c7e89d75cc624318c6781a7c9ca597c9ab494d.tar.bz2 rpmdrake-64c7e89d75cc624318c6781a7c9ca597c9ab494d.tar.xz rpmdrake-64c7e89d75cc624318c6781a7c9ca597c9ab494d.zip |
(easy_add_callback) simplify
-rw-r--r-- | Rpmdrake/edit_urpm_sources.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm index d4d5d473..d6548456 100644 --- a/Rpmdrake/edit_urpm_sources.pm +++ b/Rpmdrake/edit_urpm_sources.pm @@ -136,10 +136,9 @@ Is it ok to continue?", $distro), arch => $arch, ) or return 0; ref $mirror or return; - my $m = $mirror->{url}; + my $url = $mirror->{url}; my $is_update = $mirror->{type} eq 'updates'; my $wait = wait_msg(N("Please wait, adding media...")); - my $url = $m; my $medium_name; if ($rpmdrake::mandrake_release =~ /(\d+\.\d+) \((\w+)\)/) { $medium_name = $2 . $1 . '-'; |