summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/args.pm1
-rwxr-xr-xurpmi2
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,
diff --git a/urpmi b/urpmi
index a0fa7b80..0bc1672e 100755
--- a/urpmi
+++ b/urpmi
@@ -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} || [],