summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm1
-rwxr-xr-xurpm/main_loop.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index b5694863..e580257b 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -95,6 +95,7 @@ my %options_spec = (
$urpm->{options}{'priority-upgrade'} = '';
},
force => \$::force,
+ replacepkgs => \$options{replacepkgs},
'no-suggests' => sub { $urpm->{options}{'no-suggests'} = 1 },
'allow-nodeps' => sub { $urpm->{options}{'allow-nodeps'} = 1 },
'allow-force' => sub { $urpm->{options}{'allow-force'} = 1 },
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index 5952466a..d631347e 100755
--- 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},
+ replacepkgs => $options{replacepkgs},
nosize => $urpm->{options}{ignoresize},
ignorearch => $urpm->{options}{ignorearch},
noscripts => $urpm->{options}{noscripts},