From d0740a3e9a9c9cc2b190b4cadc7d4168d3f68584 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 13 Feb 2006 10:22:51 +0000 Subject: Add ignorearch option to run transactions --- URPM.xs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/URPM.xs b/URPM.xs index 614d9b6..07e1f2a 100644 --- a/URPM.xs +++ b/URPM.xs @@ -2964,6 +2964,8 @@ Trans_run(trans, data, ...) if (SvIV(ST(i+1))) probFilter |= RPMPROB_FILTER_OLDPACKAGE; } 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)) { + if (SvIV(ST(i+1))) probFilter |= RPMPROB_FILTER_IGNOREARCH; } else if (len == 17 && !memcmp(s, "translate_message", 17)) translate_message = 1; else if (len >= 9 && !memcmp(s, "callback_", 9)) { -- cgit v1.2.1