diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2004-01-13 15:57:28 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2004-01-13 15:57:28 +0000 |
commit | 45219a97f50e6c6328d14da239c0fea7192e4007 (patch) | |
tree | 68422c437f2b904d0fa9477990bd096b2ee2b2b7 /urpmq | |
parent | bc1eba5a5ced035717c0b9000bd1015c5551d289 (diff) | |
download | urpmi-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-x | urpmq | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 = {}; |