diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-23 13:24:19 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-23 13:24:19 +0000 |
commit | a3cfc3441593f8ed8dd8ed636502e6f115fb5177 (patch) | |
tree | 072b5bf07f5dcca9a3c67095bd43c5cb6b086c69 /urpm | |
parent | 73541f4cf13f9bf1d61f0ec98ebd6e5601d1661b (diff) | |
download | urpmi-a3cfc3441593f8ed8dd8ed636502e6f115fb5177.tar urpmi-a3cfc3441593f8ed8dd8ed636502e6f115fb5177.tar.gz urpmi-a3cfc3441593f8ed8dd8ed636502e6f115fb5177.tar.bz2 urpmi-a3cfc3441593f8ed8dd8ed636502e6f115fb5177.tar.xz urpmi-a3cfc3441593f8ed8dd8ed636502e6f115fb5177.zip |
- urpmi
o new option --justdb (new perl-URPM 1.76)
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}, |