diff options
author | jbj <devnull@localhost> | 1999-09-21 17:21:57 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-09-21 17:21:57 +0000 |
commit | e6318cc57f9581393d6cb534e3dece38b87aa3cb (patch) | |
tree | 9de6993179cceb5c262b8a205ed5d8b98c03a4f7 /rpm.c | |
parent | 20d78e939aa218e85ef19013769494851d863f13 (diff) | |
download | rpm-e6318cc57f9581393d6cb534e3dece38b87aa3cb.tar.gz rpm-e6318cc57f9581393d6cb534e3dece38b87aa3cb.tar.bz2 rpm-e6318cc57f9581393d6cb534e3dece38b87aa3cb.zip |
fix: removed files fingerprint memory leak.
fix: resurrect allfiles flag from rpm-2.5.x.
CVS patchset: 3312
CVS date: 1999/09/21 17:21:57
Diffstat (limited to 'rpm.c')
-rwxr-xr-x | rpm.c | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -1268,24 +1268,25 @@ int main(int argc, char ** argv) if (ignoreOs) probFilter |= RPMPROB_FILTER_IGNOREOS; if (ignoreSize) probFilter |= RPMPROB_FILTER_DISKSPACE; - if (allFiles) installFlags |= RPMTRANS_FLAG_ALLFILES; - if (justdb) installFlags |= RPMTRANS_FLAG_JUSTDB; if (test) installFlags |= RPMTRANS_FLAG_TEST; + /* RPMTRANS_FLAG_BUILD_PROBS */ if (noScripts) installFlags |= RPMTRANS_FLAG_NOSCRIPTS; + if (justdb) installFlags |= RPMTRANS_FLAG_JUSTDB; if (noTriggers) installFlags |= RPMTRANS_FLAG_NOTRIGGERS; - - if (showPercents) interfaceFlags |= INSTALL_PERCENT; - if (showHash) interfaceFlags |= INSTALL_HASH; - if (noDeps) interfaceFlags |= INSTALL_NODEPS; - if (noOrder) interfaceFlags |= INSTALL_NOORDER; - if (upgrade) interfaceFlags |= INSTALL_UPGRADE; - if (!incldocs) { if (excldocs) installFlags |= RPMTRANS_FLAG_NODOCS; else if (rpmExpandNumeric("%{_excludedocs}")) installFlags |= RPMTRANS_FLAG_NODOCS; } + if (allFiles) installFlags |= RPMTRANS_FLAG_ALLFILES; + /* RPMTRANS_FLAG_KEEPOBSOLETE */ + + if (showPercents) interfaceFlags |= INSTALL_PERCENT; + if (showHash) interfaceFlags |= INSTALL_HASH; + if (noDeps) interfaceFlags |= INSTALL_NODEPS; + if (noOrder) interfaceFlags |= INSTALL_NOORDER; + if (upgrade) interfaceFlags |= INSTALL_UPGRADE; if (!poptPeekArg(optCon)) argerror(_("no packages given for install")); |