summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-06 16:02:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-06 16:02:49 +0000
commitb2ebbbf918bc8eebc2448d6f569a92b5ec1d9150 (patch)
tree9ac053b80f311d2aa6d09d742fd522c39d00820b
parentd464851248d578fb57abf2e1437e33bad2b07b09 (diff)
downloadurpmi-b2ebbbf918bc8eebc2448d6f569a92b5ec1d9150.tar
urpmi-b2ebbbf918bc8eebc2448d6f569a92b5ec1d9150.tar.gz
urpmi-b2ebbbf918bc8eebc2448d6f569a92b5ec1d9150.tar.bz2
urpmi-b2ebbbf918bc8eebc2448d6f569a92b5ec1d9150.tar.xz
urpmi-b2ebbbf918bc8eebc2448d6f569a92b5ec1d9150.zip
- library:
o pass "replacefiles" to rpmlib (will be used by mdkonline) (butchered backport of trunk's r247802 2008-10-06)
-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},
);
}