diff options
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/args.pm | 1 | ||||
-rw-r--r-- | urpm/install.pm | 2 | ||||
-rw-r--r-- | urpm/main_loop.pm | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/urpm/args.pm b/urpm/args.pm index b11094e1..adbb49d9 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -95,6 +95,7 @@ my %options_spec = ( $urpm->{options}{'priority-upgrade'} = ''; }, force => \$::force, + justdb => \$options{justdb}, replacepkgs => \$options{replacepkgs}, 'no-suggests' => sub { $urpm->{options}{'no-suggests'} = 1 }, 'allow-nodeps' => sub { $urpm->{options}{'allow-nodeps'} = 1 }, diff --git a/urpm/install.pm b/urpm/install.pm index e08be38b..7e33dd74 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -130,7 +130,7 @@ sub get_README_files { #- callback_inst, callback_trans, callback_report_uninst, #- post_clean_cache, verbose #- (more options for trans->run) -#- excludedocs, nosize, noscripts, oldpackage, repackage, replacepkgs, ignorearch +#- excludedocs, nosize, noscripts, oldpackage, repackage, replacepkgs, justdb, ignorearch sub install { my ($urpm, $remove, $install, $upgrade, %options) = @_; $options{translate_message} = 1; diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm index 28aeb5f6..c0d7e25c 100644 --- a/urpm/main_loop.pm +++ b/urpm/main_loop.pm @@ -161,6 +161,7 @@ foreach my $set (@{$state->{transaction} || []}) { repackage => $urpm->{options}{repackage}, post_clean_cache => $urpm->{options}{'post-clean'}, oldpackage => $state->{oldpackage}, + justdb => $options{justdb}, replacepkgs => $options{replacepkgs}, nosize => $urpm->{options}{ignoresize}, ignorearch => $urpm->{options}{ignorearch}, |