summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-xurpmi.addmedia3
1 files changed, 1 insertions, 2 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia
index 6efb7941..793316b0 100755
--- a/urpmi.addmedia
+++ b/urpmi.addmedia
@@ -89,13 +89,12 @@ sub main {
}
close F;
}
- #---
$options{force} = 0;
$options{noclean} = 1;
$options{probe_with} = 'synthesis'; #- no the default is to probe synthesis file.
my $urpm = new urpm;
urpm::args::parse_cmdline(urpm => $urpm);
- our ($name, $url, $with, $relative_hdlist) = @ARGV;
+ our ($name, $url, $with, $relative_hdlist) = our @cmdline;
#- allow not to give name immediately.
$options{distrib} or $url or ($url, $name) = ($name, '');