diff options
-rw-r--r-- | urpm/args.pm | 1 | ||||
-rwxr-xr-x | urpmi | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm index e803c297..b9e60087 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -115,6 +115,7 @@ my %options_spec = ( 'use-distrib=s' => \$::usedistrib, 'excludepath|exclude-path=s' => sub { $urpm->{options}{excludepath} = $_[1] }, 'excludedocs|exclude-docs' => sub { $urpm->{options}{excludedocs} = 1 }, + 'ignoresize' => sub { $urpm->{options}{ignoresize} = 1 }, 'more-choices' => sub { $urpm->{options}{morechoices} = 1 }, 'expect-install!' => \$::expect_install, 'nolock' => \$::nolock, @@ -125,6 +125,7 @@ usage: ") . N(" --test - verify if the installation can be achieved correctly. ") . N(" --excludepath - exclude path separated by comma. ") . N(" --excludedocs - exclude doc files. +") . N(" --ignoresize - don't verify disk space before installation. ") . N(" --skip - packages which installation should be skipped ") . N(" --more-choices - when several packages are found, propose more choices than the default. @@ -638,6 +639,7 @@ foreach my $set (@{$state->{transaction} || []}) { post_clean_cache => $urpm->{options}{'post-clean'}, translate_message => 1, oldpackage => $state->{oldpackage}, + nosize => $urpm->{options}{ignoresize}, ); my @l = $urpm->install( !$urpm->{options}{'allow-force'} && $set->{remove} || [], |