diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-03-28 11:41:41 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-03-28 11:41:41 +0000 |
commit | dd3f492a0ab5e9cfabd7c9b7e4887a899f3fc4ce (patch) | |
tree | ec4ec6b2fac38dcd82434757263ba67b3e543e87 /gurpmi.addmedia | |
parent | 4ee395b9458c110fad7c01efe1f142ec2a3e24c7 (diff) | |
download | rpmdrake-dd3f492a0ab5e9cfabd7c9b7e4887a899f3fc4ce.tar rpmdrake-dd3f492a0ab5e9cfabd7c9b7e4887a899f3fc4ce.tar.gz rpmdrake-dd3f492a0ab5e9cfabd7c9b7e4887a899f3fc4ce.tar.bz2 rpmdrake-dd3f492a0ab5e9cfabd7c9b7e4887a899f3fc4ce.tar.xz rpmdrake-dd3f492a0ab5e9cfabd7c9b7e4887a899f3fc4ce.zip |
don't pass "with-dir" if not set
(otherwise urpm::media::add_distrib_media currently does not override it)
Diffstat (limited to 'gurpmi.addmedia')
-rwxr-xr-x | gurpmi.addmedia | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gurpmi.addmedia b/gurpmi.addmedia index e4670381..23c39230 100755 --- a/gurpmi.addmedia +++ b/gurpmi.addmedia @@ -134,7 +134,7 @@ foreach (@addmedia_args) { if_(!$distrib, undef), if_($update, update => $update), mirrorlist => $mirrorlist, - 'with-dir' => $with_dir, + if_($with_dir, 'with-dir' => $with_dir), ); } if ($success) { |