summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2004-01-13 15:57:28 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2004-01-13 15:57:28 +0000
commit45219a97f50e6c6328d14da239c0fea7192e4007 (patch)
tree68422c437f2b904d0fa9477990bd096b2ee2b2b7 /urpmq
parentbc1eba5a5ced035717c0b9000bd1015c5551d289 (diff)
downloadurpmi-45219a97f50e6c6328d14da239c0fea7192e4007.tar
urpmi-45219a97f50e6c6328d14da239c0fea7192e4007.tar.gz
urpmi-45219a97f50e6c6328d14da239c0fea7192e4007.tar.bz2
urpmi-45219a97f50e6c6328d14da239c0fea7192e4007.tar.xz
urpmi-45219a97f50e6c6328d14da239c0fea7192e4007.zip
add --use-distrib code
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpmq b/urpmq
index a2a870fd..394c66a9 100755
--- a/urpmq
+++ b/urpmq
@@ -113,6 +113,7 @@ while (defined($_ = shift @ARGV)) {
/^--force$/ and do { $query->{force} = 1; next };
/^--skip$/ and do { push @nextargv, \$query->{skip}; next };
/^--root$/ and do { push @nextargv, \$query->{root}; next };
+ /^--use-distrib$/ and do { push @nextargv, \$query->{usedistrib}; next };
/^--parallel$/ and do { push @nextargv, \$query->{parallel}; next };
/^--wget$/ and do { $urpm->{sync} = sub { my $options = shift @_;
if (ref($options)) { $options->{prefer} = 'wget' }
@@ -192,6 +193,7 @@ $urpm->configure(nocheck_access => 1,
skip => $query->{skip},
root => $query->{root},
parallel => $query->{parallel},
+ usedistrib => $query->{usedistrib},
);
my $state = {};