diff options
author | jbj <devnull@localhost> | 2001-07-17 03:03:14 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-07-17 03:03:14 +0000 |
commit | bad8c7a9b243a1f72338dc04daba56a944149716 (patch) | |
tree | 72c89e45f3722761afae23b7c7279bdc0c099202 /rpmqv.c | |
parent | ecfb46adaaeff044c1a44602b141ca885d351c06 (diff) | |
download | librpm-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-x | rpmqv.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |