From 13e9a1685563fad6dad2cb476032dec91aa100ae Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 23 Oct 2007 01:12:16 +0000 Subject: (warn_about_media) simplify since caller take care of rebuilding update media list --- Rpmdrake/pkg.pm | 2 -- 1 file changed, 2 deletions(-) (limited to 'Rpmdrake') 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 } } -- cgit v1.2.1