diff options
author | jbj <devnull@localhost> | 2002-02-04 16:53:51 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-02-04 16:53:51 +0000 |
commit | 696c5d9d67e4bde344b921c94ffad5a8ad075ce8 (patch) | |
tree | a697b8b6e4ea2c9bc3e88f017ff1bc7ec852f886 /rpmqv.c | |
parent | 81d60b470679acaab73d37f6a2f3f2dc6b3cba60 (diff) | |
download | rpm-696c5d9d67e4bde344b921c94ffad5a8ad075ce8.tar.gz rpm-696c5d9d67e4bde344b921c94ffad5a8ad075ce8.tar.bz2 rpm-696c5d9d67e4bde344b921c94ffad5a8ad075ce8.zip |
rollback changes from 4.0.4.
CVS patchset: 5297
CVS date: 2002/02/04 16:53:51
Diffstat (limited to 'rpmqv.c')
-rwxr-xr-x | rpmqv.c | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 */ |