diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-03-28 10:10:34 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-03-28 10:10:34 +0000 |
commit | 94d2e783ce26dd4da5f4a66183f8b84a06f1601a (patch) | |
tree | d332836320b1b8a0618f70286e6d552fbb563b4e | |
parent | af001b33fc60652d6d98ae8946aaa84cd78c64ef (diff) | |
download | rpmdrake-94d2e783ce26dd4da5f4a66183f8b84a06f1601a.tar rpmdrake-94d2e783ce26dd4da5f4a66183f8b84a06f1601a.tar.gz rpmdrake-94d2e783ce26dd4da5f4a66183f8b84a06f1601a.tar.bz2 rpmdrake-94d2e783ce26dd4da5f4a66183f8b84a06f1601a.tar.xz rpmdrake-94d2e783ce26dd4da5f4a66183f8b84a06f1601a.zip |
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)
-rwxr-xr-x | gurpmi.addmedia | 2 |
1 files changed, 1 insertions, 1 deletions
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), ); } |