summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-09-13 17:26:54 +0000
committerjbj <devnull@localhost>2000-09-13 17:26:54 +0000
commit581d3c0324099d067e33cf1a53b2e9eb7478a534 (patch)
treeb9827b2432b783a47df614cebf08fccb9719a875 /rpmqv.c
parent5d6496b6276163a077316c8a57e57e032cebdbba (diff)
downloadlibrpm-tizen-581d3c0324099d067e33cf1a53b2e9eb7478a534.tar.gz
librpm-tizen-581d3c0324099d067e33cf1a53b2e9eb7478a534.tar.bz2
librpm-tizen-581d3c0324099d067e33cf1a53b2e9eb7478a534.zip
- fix: honor --test when doing --freshen.
CVS patchset: 4158 CVS date: 2000/09/13 17:26:54
Diffstat (limited to 'rpmqv.c')
-rwxr-xr-xrpmqv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmqv.c b/rpmqv.c
index fccc2e242..b300abaf7 100755
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -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"));