aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-10-23 01:12:16 +0000
committerThierry Vignaud <tv@mandriva.org>2007-10-23 01:12:16 +0000
commit13e9a1685563fad6dad2cb476032dec91aa100ae (patch)
tree8b442ca6ed7f59afd25d7ff9c6633eb92836b1ae
parentc5b13377fad1b2bdac6f0ac39c41d3e46af30426 (diff)
downloadrpmdrake-13e9a1685563fad6dad2cb476032dec91aa100ae.tar
rpmdrake-13e9a1685563fad6dad2cb476032dec91aa100ae.tar.gz
rpmdrake-13e9a1685563fad6dad2cb476032dec91aa100ae.tar.bz2
rpmdrake-13e9a1685563fad6dad2cb476032dec91aa100ae.tar.xz
rpmdrake-13e9a1685563fad6dad2cb476032dec91aa100ae.zip
(warn_about_media) simplify since caller take care of rebuilding
update media list
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 033b301e..b4d5f9a2 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -162,7 +162,6 @@ sub get_update_medias {
sub warn_about_media {
my ($w, $opts) = @_;
- my $update_name = 'update_source';
return if !member($::default_list_mode, qw(all_updates security bugfix normal));
return if $::rpmdrake_options{'no-media-update'};
@@ -213,7 +212,6 @@ updates' medium.
Then, restart %s.", $rpmdrake::myname_update)), myexit(-1);
add_distrib_update_media($urpm, $mirror);
- @update_medias = { name => $update_name }; #- hack to simulate a medium for parsing of descriptions
}
}