From 390f35c8b35f17d1021c090ec430c0b51bb5bda8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 23 Aug 2007 13:22:53 +0000 Subject: - allow running transaction with justdb option --- NEWS | 2 ++ URPM.xs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index 816c080..251917f 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- allow running transaction with justdb option + Version 1.75 - 12 August 2007, by Pascal "Pixel" Rigaux - fix dropping tags from rpm header. 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)) -- cgit v1.2.1