diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-10-07 10:46:33 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-10-07 10:46:33 +0000 |
commit | cc7213ade51479b0d3f5433f6a1137cbb695087e (patch) | |
tree | 7d954eb81d54e25e265ddba1f125fb2e835dcb2b /URPM.xs | |
parent | 27e2670865af8bee67d6ffca83195981b2f3d8b0 (diff) | |
download | perl-URPM-cc7213ade51479b0d3f5433f6a1137cbb695087e.tar perl-URPM-cc7213ade51479b0d3f5433f6a1137cbb695087e.tar.gz perl-URPM-cc7213ade51479b0d3f5433f6a1137cbb695087e.tar.bz2 perl-URPM-cc7213ade51479b0d3f5433f6a1137cbb695087e.tar.xz perl-URPM-cc7213ade51479b0d3f5433f6a1137cbb695087e.zip |
- handle flag "replacefiles"
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3279,6 +3279,8 @@ Trans_run(trans, data, ...) 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 == 12 && !memcmp(s, "replacefiles", 12)) { + if (SvIV(ST(i+1))) probFilter |= RPMPROB_FILTER_REPLACEOLDFILES | RPMPROB_FILTER_REPLACENEWFILES; } else if (len == 9 && !memcmp(s, "repackage", 9)) { if (SvIV(ST(i+1))) transFlags |= RPMTRANS_FLAG_REPACKAGE; } else if (len == 6 && !memcmp(s, "justdb", 6)) { |