From 94d2e783ce26dd4da5f4a66183f8b84a06f1601a Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 28 Mar 2008 10:10:34 +0000 Subject: fix superfluous parameter to add_medium_and_check (note that add_medium_and_check() is quite touchy since it redirects the call to urpm::media::add_medium or urpm::media::add_distrib_media which have different arguments) --- gurpmi.addmedia | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gurpmi.addmedia') diff --git a/gurpmi.addmedia b/gurpmi.addmedia index 7be8344d..3ebd472d 100755 --- a/gurpmi.addmedia +++ b/gurpmi.addmedia @@ -123,7 +123,7 @@ foreach (@addmedia_args) { { probe_with => !$_->[2], distrib => $distrib }, $_->[0], $_->[1], - $_->[3], + if_(!$distrib, $_->[3]), if_($update, update => $update), ); } -- cgit v1.2.1