diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-06-09 07:42:30 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-06-09 07:42:30 +0000 |
commit | 39d5d8e8c7e51adbf4bb27833dab6c84ab58c524 (patch) | |
tree | 277a801487a852e67b185c737c3404d74bd50ccd /urpm/args.pm | |
parent | 31ad4fb787dc5bc23bf8a3d708d32e3a79641949 (diff) | |
download | urpmi-39d5d8e8c7e51adbf4bb27833dab6c84ab58c524.tar urpmi-39d5d8e8c7e51adbf4bb27833dab6c84ab58c524.tar.gz urpmi-39d5d8e8c7e51adbf4bb27833dab6c84ab58c524.tar.bz2 urpmi-39d5d8e8c7e51adbf4bb27833dab6c84ab58c524.tar.xz urpmi-39d5d8e8c7e51adbf4bb27833dab6c84ab58c524.zip |
Introduce a --nolock option in urpmi and urpmq.
Use it for parallel distribution over ssh on localhost
Diffstat (limited to 'urpm/args.pm')
-rw-r--r-- | urpm/args.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm index af7d02ef..9bb3f111 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -117,6 +117,7 @@ my %options_spec = ( 'excludedocs|exclude-docs' => sub { $urpm->{options}{excludedocs} = 1 }, 'more-choices' => sub { $urpm->{options}{morechoices} = 1 }, 'expect-install!' => \$::expect_install, + 'nolock' => \$::nolock, a => \$::all, q => sub { --$::verbose; $::rpm_opt = '' }, v => sub { ++$::verbose; $::rpm_opt = 'vh' }, @@ -208,6 +209,7 @@ my %options_spec = ( 'use-distrib=s' => \$options{usedistrib}, 'parallel=s' => \$options{parallel}, 'env=s' => \$options{env}, + 'nolock' => \$options{nolock}, d => \$options{deps}, u => \$options{upgrade}, a => \$options{all}, |