From c1959865f841ae4e408a8166592b58e2e3efd852 Mon Sep 17 00:00:00 2001 From: ewt Date: Wed, 17 Feb 1999 04:32:55 +0000 Subject: added checks for installation of old packages CVS patchset: 2802 CVS date: 1999/02/17 04:32:55 --- rpm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpm.c') diff --git a/rpm.c b/rpm.c index 32fed3bd8..b58f23a37 100755 --- a/rpm.c +++ b/rpm.c @@ -1280,13 +1280,13 @@ int main(int argc, char ** argv) { probFilter |= RPMPROB_FILTER_REPLACEPKG | RPMPROB_FILTER_REPLACEOLDFILES | RPMPROB_FILTER_REPLACENEWFILES | - RPMPROB_FILTER_UPGRADETOOLD; + RPMPROB_FILTER_OLDPACKAGE; } if (replaceFiles) probFilter |= RPMPROB_FILTER_REPLACEOLDFILES | RPMPROB_FILTER_REPLACENEWFILES; if (badReloc) probFilter |= RPMPROB_FILTER_FORCERELOCATE; if (replacePackages) probFilter |= RPMPROB_FILTER_REPLACEPKG; - if (oldPackage) probFilter |= RPMPROB_FILTER_UPGRADETOOLD; + if (oldPackage) probFilter |= RPMPROB_FILTER_OLDPACKAGE; if (ignoreArch) probFilter |= RPMPROB_FILTER_IGNOREARCH; if (ignoreOs) probFilter |= RPMPROB_FILTER_IGNOREOS; -- cgit v1.2.3