diff options
-rw-r--r-- | CHANGES | 1 | ||||
-rwxr-xr-x | rpm.c | 2 | ||||
-rwxr-xr-x | rpmqv.c | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -108,6 +108,7 @@ - fix: initialize sigs everywhere in python header object. - translate rpm.8 man page (Peter Ivanyi <ivanyi@internet.sk>). - popt: support for float/double args. + - fix: honor --test when doing --freshen. 3.0.4 -> 3.0.5 - configure.in fiddles for BSD systems (Patrick Schoo). @@ -1120,7 +1120,7 @@ int main(int argc, const char ** argv) if (noDeps) interfaceFlags |= INSTALL_NODEPS; if (noOrder) interfaceFlags |= INSTALL_NOORDER; if (upgrade) interfaceFlags |= INSTALL_UPGRADE; - if (freshen) interfaceFlags |= INSTALL_FRESHEN; + if (freshen) interfaceFlags |= (INSTALL_UPGRADE|INSTALL_FRESHEN); if (!poptPeekArg(optCon)) argerror(_("no packages given for install")); @@ -1400,7 +1400,7 @@ int main(int argc, const char ** argv) if (noDeps) interfaceFlags |= INSTALL_NODEPS; if (noOrder) interfaceFlags |= INSTALL_NOORDER; if (upgrade) interfaceFlags |= INSTALL_UPGRADE; - if (freshen) interfaceFlags |= INSTALL_FRESHEN; + if (freshen) interfaceFlags |= (INSTALL_UPGRADE|INSTALL_FRESHEN); if (!poptPeekArg(optCon)) argerror(_("no packages given for install")); |