diff options
author | ewt <devnull@localhost> | 1999-02-17 04:32:55 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1999-02-17 04:32:55 +0000 |
commit | c1959865f841ae4e408a8166592b58e2e3efd852 (patch) | |
tree | 3982967b70207858b57a5fb31d996dd7295bfcbd /rpm.c | |
parent | 784a8eeb8ad9494a40d09ade64ef6372fb18dbaa (diff) | |
download | rpm-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-x | rpm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |