summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpmqv.c')
-rwxr-xr-xrpmqv.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/rpmqv.c b/rpmqv.c
index 4ace5e195..e779dae5f 100755
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -478,7 +478,12 @@ int main(int argc, const char ** argv)
ka->qva_flags |= VERIFY_MD5;
else
#endif
- /*@-ifempty@*/ ;
+#ifdef IAM_RPMEIU
+ if (bigMode & MODES_IE)
+ ia->transFlags |= RPMTRANS_FLAG_NOMD5;
+ else
+#endif
+ {};
/*@switchbreak@*/ break;
#endif /* IAM_RPMQV || IAM_RPMK */
@@ -1036,6 +1041,8 @@ int main(int argc, const char ** argv)
if (!poptPeekArg(optCon)) {
if (ia->rbtid == 0)
argerror(_("no packages given for erase"));
+ia->transFlags |= RPMTRANS_FLAG_NOMD5;
+ia->probFilter |= RPMPROB_FILTER_OLDPACKAGE;
ec += rpmRollback(ts, ia, NULL);
} else {
ec += rpmErase(ts, (const char **)poptGetArgs(optCon),
@@ -1076,6 +1083,8 @@ int main(int argc, const char ** argv)
if (!poptPeekArg(optCon)) {
if (ia->rbtid == 0)
argerror(_("no packages given for install"));
+ia->transFlags |= RPMTRANS_FLAG_NOMD5;
+ia->probFilter |= RPMPROB_FILTER_OLDPACKAGE;
ec += rpmRollback(ts, ia, NULL);
} else {
/*@-compdef@*/ /* FIX: ia->relocations[0].newPath undefined */