summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-06 15:56:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-06 15:56:23 +0000
commit161f04b32c458ea2ef722a2b8180ad12777a5807 (patch)
tree0f3f081cbbf25320d841234667fe90e1eb22ff95 /urpm
parent2263fff1c0a5fc0c4ab5fe6979148d3546834b91 (diff)
downloadurpmi-161f04b32c458ea2ef722a2b8180ad12777a5807.tar
urpmi-161f04b32c458ea2ef722a2b8180ad12777a5807.tar.gz
urpmi-161f04b32c458ea2ef722a2b8180ad12777a5807.tar.bz2
urpmi-161f04b32c458ea2ef722a2b8180ad12777a5807.tar.xz
urpmi-161f04b32c458ea2ef722a2b8180ad12777a5807.zip
- urpmi, library:
o handle --replacefiles, will be used by mdkonline (require perl-URPM 3.19)
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},
);
}