diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-13 10:22:51 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-13 10:22:51 +0000 |
commit | d0740a3e9a9c9cc2b190b4cadc7d4168d3f68584 (patch) | |
tree | b11660202703552bb0f5234fec3e602b5acbb875 | |
parent | db17096a2b06f0e152cc65daa417e9bc22498f20 (diff) | |
download | perl-URPM-d0740a3e9a9c9cc2b190b4cadc7d4168d3f68584.tar perl-URPM-d0740a3e9a9c9cc2b190b4cadc7d4168d3f68584.tar.gz perl-URPM-d0740a3e9a9c9cc2b190b4cadc7d4168d3f68584.tar.bz2 perl-URPM-d0740a3e9a9c9cc2b190b4cadc7d4168d3f68584.tar.xz perl-URPM-d0740a3e9a9c9cc2b190b4cadc7d4168d3f68584.zip |
Add ignorearch option to run transactions
-rw-r--r-- | URPM.xs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)) { |