aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {