diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-09 12:57:02 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-09 12:57:02 +0000 |
commit | e9498f154585edf96443fc02be0957c727a33a48 (patch) | |
tree | e1ccc8d4ea5f4cc87d628e3f404b8fcc1a41e157 | |
parent | 5c59932a4ee313d578d1c74486b231e2eace6aef (diff) | |
download | perl-URPM-e9498f154585edf96443fc02be0957c727a33a48.tar perl-URPM-e9498f154585edf96443fc02be0957c727a33a48.tar.gz perl-URPM-e9498f154585edf96443fc02be0957c727a33a48.tar.bz2 perl-URPM-e9498f154585edf96443fc02be0957c727a33a48.tar.xz perl-URPM-e9498f154585edf96443fc02be0957c727a33a48.zip |
Add repackage flag to run transactions
-rw-r--r-- | URPM.xs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2954,6 +2954,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 == 9 && !memcmp(s, "repackage", 9)) { + if (SvIV(ST(i+1))) probFilter |= RPMTRANS_FLAG_REPACKAGE; } else if (len == 17 && !memcmp(s, "translate_message", 17)) translate_message = 1; else if (len >= 9 && !memcmp(s, "callback_", 9)) { |