summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-06-25 09:18:51 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-06-25 09:40:04 +0300
commitcb17fb722c9576502378cd79e21517819db2cdc4 (patch)
treea71b5a14b51296d8ba51fd9e38fcc5a201114e1c /rpmqv.c
parent600c98615426cf2e5a606e51b447250cd3be9c71 (diff)
downloadlibrpm-tizen-cb17fb722c9576502378cd79e21517819db2cdc4.tar.gz
librpm-tizen-cb17fb722c9576502378cd79e21517819db2cdc4.tar.bz2
librpm-tizen-cb17fb722c9576502378cd79e21517819db2cdc4.zip
Eliminate rpmd, rpmi, rpmk, rpmq "helper binaries"
- it's all rolled into "rpm" itself, these are just clutter and complicate things needlessly - leave symlinks to rpmquery, rpmverify, rpmsign and rpmdb -> rpm to preserve some compatibility (at least rpmquery is known to be used in scripts)
Diffstat (limited to 'rpmqv.c')
-rw-r--r--rpmqv.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/rpmqv.c b/rpmqv.c
index 16c35878b..f68331d22 100644
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -211,22 +211,12 @@ int main(int argc, char *argv[])
/* Set the major mode based on argv[0] */
#ifdef IAM_RPMBT
- if (!strcmp(__progname, "lt-rpmbuild")) bigMode = MODE_BUILD;
if (!strcmp(__progname, "rpmbuild")) bigMode = MODE_BUILD;
#endif
#ifdef IAM_RPMQV
- if (!strcmp(__progname, "rpmq")) bigMode = MODE_QUERY;
- if (!strcmp(__progname, "lt-rpmq")) bigMode = MODE_QUERY;
- if (!strcmp(__progname, "rpmv")) bigMode = MODE_VERIFY;
if (!strcmp(__progname, "rpmquery")) bigMode = MODE_QUERY;
if (!strcmp(__progname, "rpmverify")) bigMode = MODE_VERIFY;
#endif
-#ifdef RPMEIU
- if (!strcmp(__progname, "rpme")) bigMode = MODE_ERASE;
- if (!strcmp(__progname, "rpmi")) bigMode = MODE_INSTALL;
- if (!strcmp(__progname, "lt-rpmi")) bigMode = MODE_INSTALL;
- if (!strcmp(__progname, "rpmu")) bigMode = MODE_INSTALL;
-#endif
#if defined(IAM_RPMQV)
/* Jumpstart option from argv[0] if necessary. */