From 58a1295c9e02e5c80e0229b4842d16102e064494 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 11 Aug 2007 12:21:00 +0000 Subject: - allow running transaction with replagekgs option --- URPM.xs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'URPM.xs') 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)) { -- cgit v1.2.1