diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-06-25 09:18:51 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-06-25 09:40:04 +0300 |
commit | cb17fb722c9576502378cd79e21517819db2cdc4 (patch) | |
tree | a71b5a14b51296d8ba51fd9e38fcc5a201114e1c /rpmqv.c | |
parent | 600c98615426cf2e5a606e51b447250cd3be9c71 (diff) | |
download | rpm-cb17fb722c9576502378cd79e21517819db2cdc4.tar.gz rpm-cb17fb722c9576502378cd79e21517819db2cdc4.tar.bz2 rpm-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.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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. */ |