aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-28 10:10:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-28 10:10:34 +0000
commit94d2e783ce26dd4da5f4a66183f8b84a06f1601a (patch)
treed332836320b1b8a0618f70286e6d552fbb563b4e
parentaf001b33fc60652d6d98ae8946aaa84cd78c64ef (diff)
downloadrpmdrake-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-xgurpmi.addmedia2
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),
);
}