summaryrefslogtreecommitdiff
path: root/rpm.c
diff options
context:
space:
mode:
authorewt <devnull@localhost>1999-02-17 04:32:55 +0000
committerewt <devnull@localhost>1999-02-17 04:32:55 +0000
commitc1959865f841ae4e408a8166592b58e2e3efd852 (patch)
tree3982967b70207858b57a5fb31d996dd7295bfcbd /rpm.c
parent784a8eeb8ad9494a40d09ade64ef6372fb18dbaa (diff)
downloadrpm-c1959865f841ae4e408a8166592b58e2e3efd852.tar.gz
rpm-c1959865f841ae4e408a8166592b58e2e3efd852.tar.bz2
rpm-c1959865f841ae4e408a8166592b58e2e3efd852.zip
added checks for installation of old packages
CVS patchset: 2802 CVS date: 1999/02/17 04:32:55
Diffstat (limited to 'rpm.c')
-rwxr-xr-xrpm.c4
1 files changed, 2 insertions, 2 deletions
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;