aboutsummaryrefslogtreecommitdiffstats
path: root/gurpmi.addmedia
diff options
context:
space:
mode:
Diffstat (limited to 'gurpmi.addmedia')
-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) {