summaryrefslogtreecommitdiffstats
path: root/urpme
diff options
context:
space:
mode:
Diffstat (limited to 'urpme')
-rw-r--r--urpme4
1 files changed, 3 insertions, 1 deletions
diff --git a/urpme b/urpme
index 70e03b24..1d6efb9c 100644
--- a/urpme
+++ b/urpme
@@ -25,7 +25,7 @@ use URPM;
use URPM::Resolve;
use urpm;
-my (@nextargv, $root, $test, $parallel, $auto, $matches, $verbose, $maymatch, @l);
+my (@nextargv, $root, $test, $parallel, $auto, $matches, $verbose, $maymatch, $usedistrib, @l);
my $askok = N("Is this OK?");
# Translator: Add here the keys which might be pressed in the "No"-case.
my $noexpr = N("Nn");
@@ -57,6 +57,7 @@ while (defined($_ = shift @ARGV)) {
/^--(no-)?test$/ and do { $test = !$1; next };
/^--force$/ and do { $force = 1; next };
/^--root$/ and do { push @nextargv, \$root; next };
+ /^--use-distrib$/ and do { push @nextargv, \$usedistrib; next };
/^--parallel$/ and do { push @nextargv, \$parallel; next };
/^-(.*)$/ and do { foreach (split //, $1) {
/[\?h]/ and do { usage; next };
@@ -77,6 +78,7 @@ $verbose or $urpm->{log} = sub {};
$parallel and $urpm->configure(synthesis => ($parallel and 'none'),
root => $root,
parallel => $parallel,
+ usedistrib => $usedistrib,
);
#- examine packages...