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 b41e24fe..ae4eb444 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -122,6 +122,7 @@ my %options_spec = ( 'excludepath|exclude-path=s' => sub { $urpm->{options}{excludepath} = $_[1] }, 'excludedocs|exclude-docs' => sub { $urpm->{options}{excludedocs} = 1 }, 'ignoresize' => sub { $urpm->{options}{ignoresize} = 1 }, + noscripts => sub { $urpm->{options}{noscripts} = 1 }, 'more-choices' => sub { $urpm->{options}{morechoices} = 1 }, 'expect-install!' => \$::expect_install, 'nolock' => \$::nolock, @@ -124,6 +124,7 @@ usage: ") . N(" --excludepath - exclude path separated by comma. ") . N(" --excludedocs - exclude doc files. ") . N(" --ignoresize - don't verify disk space before installation. +") . N(" --noscripts - do not execute package scriptlet(s) ") . N(" --skip - packages which installation should be skipped ") . N(" --more-choices - when several packages are found, propose more choices than the default. @@ -645,6 +646,7 @@ foreach my $set (@{$state->{transaction} || []}) { translate_message => 1, oldpackage => $state->{oldpackage}, nosize => $urpm->{options}{ignoresize}, + noscripts => $urpm->{options}{noscripts}, ); my @l = $urpm->install( !$urpm->{options}{'allow-force'} && $set->{remove} || [], |