aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-28 11:41:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-28 11:41:41 +0000
commitdd3f492a0ab5e9cfabd7c9b7e4887a899f3fc4ce (patch)
treeec4ec6b2fac38dcd82434757263ba67b3e543e87
parent4ee395b9458c110fad7c01efe1f142ec2a3e24c7 (diff)
downloadrpmdrake-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)
-rwxr-xr-xgurpmi.addmedia2
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) {