summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm1
-rw-r--r--urpm/install.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 95fda9d2..6af01d4b 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -180,6 +180,7 @@ my %options_spec = (
'ignoresize' => sub { $urpm->{options}{ignoresize} = 1 },
'ignorearch' => sub { $urpm->{options}{ignorearch} = 1 },
noscripts => sub { $urpm->{options}{noscripts} = 1 },
+ replacefiles => sub { $urpm->{options}{replacefiles} = 1 },
repackage => sub { $urpm->{options}{repackage} = 1 },
'more-choices' => sub { $urpm->{options}{morechoices} = 1 },
'expect-install!' => \$::urpm::main_loop::expect_install,
diff --git a/urpm/install.pm b/urpm/install.pm
index 758fe4da..a688135a 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -146,6 +146,7 @@ sub options {
nosize => $urpm->{options}{ignoresize},
ignorearch => $urpm->{options}{ignorearch},
noscripts => $urpm->{options}{noscripts},
+ replacefiles => $urpm->{options}{replacefiles},
);
}