summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--urpm/install.pm2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0ade1984..6fc5514a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- library:
+ o pass "replacefiles" to rpmlib (will be used by mdkonline)
- urpmi, rpmdrake:
o nice exit code for "bad signature" fatal error. Fixes rpmdrake continuing
on bad signature (#44575)
diff --git a/urpm/install.pm b/urpm/install.pm
index 758fe4da..020fa1ad 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -146,6 +146,8 @@ sub options {
nosize => $urpm->{options}{ignoresize},
ignorearch => $urpm->{options}{ignorearch},
noscripts => $urpm->{options}{noscripts},
+ # HACK: perl-URPM 3.18 does not handle replacefiles, we use the strong "force" instead
+ force => $urpm->{options}{replacefiles},
);
}