aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-11 12:21:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-11 12:21:00 +0000
commit58a1295c9e02e5c80e0229b4842d16102e064494 (patch)
treee7c76eb50a395b95be4068b341330d4b2323f16f /URPM.xs
parentcf1be922e6242f2c7e1feaac5e015307f817aaef (diff)
downloadperl-URPM-58a1295c9e02e5c80e0229b4842d16102e064494.tar
perl-URPM-58a1295c9e02e5c80e0229b4842d16102e064494.tar.gz
perl-URPM-58a1295c9e02e5c80e0229b4842d16102e064494.tar.bz2
perl-URPM-58a1295c9e02e5c80e0229b4842d16102e064494.tar.xz
perl-URPM-58a1295c9e02e5c80e0229b4842d16102e064494.zip
- allow running transaction with replagekgs option
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 65ada75..2678433 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3063,6 +3063,8 @@ Trans_run(trans, data, ...)
RPMTRANS_FLAG_NOPOSTUN );
} else if (len == 10 && !memcmp(s, "oldpackage", 10)) {
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 == 9 && !memcmp(s, "repackage", 9)) {
if (SvIV(ST(i+1))) transFlags |= RPMTRANS_FLAG_REPACKAGE;
} else if (len == 10 && !memcmp(s, "ignorearch", 10)) {