aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index d6bc566..2821990 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3279,6 +3279,8 @@ Trans_run(trans, data, ...)
if (SvIV(ST(i+1))) probFilter |= RPMPROB_FILTER_OLDPACKAGE;
} else if (len == 11 && !memcmp(s, "replacepkgs", 11)) {
if (SvIV(ST(i+1))) probFilter |= RPMPROB_FILTER_REPLACEPKG;
+ } else if (len == 12 && !memcmp(s, "replacefiles", 12)) {
+ if (SvIV(ST(i+1))) probFilter |= RPMPROB_FILTER_REPLACEOLDFILES | RPMPROB_FILTER_REPLACENEWFILES;
} else if (len == 9 && !memcmp(s, "repackage", 9)) {
if (SvIV(ST(i+1))) transFlags |= RPMTRANS_FLAG_REPACKAGE;
} else if (len == 6 && !memcmp(s, "justdb", 6)) {