summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-07-17 03:03:14 +0000
committerjbj <devnull@localhost>2001-07-17 03:03:14 +0000
commitbad8c7a9b243a1f72338dc04daba56a944149716 (patch)
tree72c89e45f3722761afae23b7c7279bdc0c099202 /rpmqv.c
parentecfb46adaaeff044c1a44602b141ca885d351c06 (diff)
downloadlibrpm-tizen-bad8c7a9b243a1f72338dc04daba56a944149716.tar.gz
librpm-tizen-bad8c7a9b243a1f72338dc04daba56a944149716.tar.bz2
librpm-tizen-bad8c7a9b243a1f72338dc04daba56a944149716.zip
- fix: _smp_flags macro broken.
- python: bind rhnUnload differently. - fix: rescusitate --querytags. - fix: short aliases broken (#49213). CVS patchset: 4949 CVS date: 2001/07/17 03:03:14
Diffstat (limited to 'rpmqv.c')
-rwxr-xr-xrpmqv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/rpmqv.c b/rpmqv.c
index 8cec9faa8..c68919912 100755
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -592,7 +592,7 @@ int main(int argc, const char ** argv)
#endif /* IAM_RPMBT */
#ifdef IAM_RPMDB
- if (bigMode == MODE_UNKNOWN) {
+ if (bigMode == MODE_UNKNOWN || (bigMode & MODES_DB)) {
if (da->init) {
if (bigMode != MODE_UNKNOWN)
argerror(_("only one major mode may be specified"));
@@ -615,7 +615,7 @@ int main(int argc, const char ** argv)
#endif /* IAM_RPMDB */
#ifdef IAM_RPMQV
- if (bigMode == MODE_UNKNOWN) {
+ if (bigMode == MODE_UNKNOWN || (bigMode & MODES_QV)) {
switch (qva->qva_mode) {
case 'q': bigMode = MODE_QUERY; break;
case 'V': bigMode = MODE_VERIFY; break;
@@ -639,7 +639,7 @@ int main(int argc, const char ** argv)
#endif /* IAM_RPMQV */
#ifdef IAM_RPMEIU
- if (bigMode == MODE_UNKNOWN)
+ if (bigMode == MODE_UNKNOWN || (bigMode & MODES_IE))
{ int iflags = (ia->installInterfaceFlags &
(INSTALL_UPGRADE|INSTALL_FRESHEN|INSTALL_INSTALL));
int eflags = (ia->installInterfaceFlags & INSTALL_ERASE);
@@ -654,7 +654,7 @@ int main(int argc, const char ** argv)
#endif /* IAM_RPMQV */
#ifdef IAM_RPMK
- if (bigMode == MODE_UNKNOWN) {
+ if (bigMode == MODE_UNKNOWN || (bigMode & MODES_K)) {
switch (ka->addSign) {
case RESIGN_NONE:
break;