summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-23 13:24:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-23 13:24:19 +0000
commita3cfc3441593f8ed8dd8ed636502e6f115fb5177 (patch)
tree072b5bf07f5dcca9a3c67095bd43c5cb6b086c69 /urpm
parent73541f4cf13f9bf1d61f0ec98ebd6e5601d1661b (diff)
downloadurpmi-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.pm1
-rw-r--r--urpm/install.pm2
-rw-r--r--urpm/main_loop.pm1
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},