aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-23 13:22:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-23 13:22:53 +0000
commit390f35c8b35f17d1021c090ec430c0b51bb5bda8 (patch)
tree0785bc963717931f06070faa7b6247375b237bf2 /URPM.xs
parent545b23efc1d52191e81ff5f9a8def3c8525b52aa (diff)
downloadperl-URPM-390f35c8b35f17d1021c090ec430c0b51bb5bda8.tar
perl-URPM-390f35c8b35f17d1021c090ec430c0b51bb5bda8.tar.gz
perl-URPM-390f35c8b35f17d1021c090ec430c0b51bb5bda8.tar.bz2
perl-URPM-390f35c8b35f17d1021c090ec430c0b51bb5bda8.tar.xz
perl-URPM-390f35c8b35f17d1021c090ec430c0b51bb5bda8.zip
- allow running transaction with justdb option
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index e36fe61..5b7eec3 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3102,6 +3102,8 @@ Trans_run(trans, data, ...)
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 == 6 && !memcmp(s, "justdb", 6)) {
+ if (SvIV(ST(i+1))) transFlags |= RPMTRANS_FLAG_JUSTDB;
} 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))