From 09269b817de33b0e8aa0531a5d6ddb420549fa97 Mon Sep 17 00:00:00 2001 From: bug1 Date: Wed, 18 Jul 2001 05:17:39 +0000 Subject: Use the unofficial -C instead of -c to --configure a package, -c conflicts with another dpkg command git-svn-id: svn://busybox.net/trunk/busybox@3120 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- archival/dpkg.c | 4 ++-- dpkg.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/archival/dpkg.c b/archival/dpkg.c index dfae9ed70..e9afe5f6e 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c @@ -1290,9 +1290,9 @@ extern int dpkg_main(int argc, char **argv) int status_num; int i; - while ((opt = getopt(argc, argv, "cF:ilPru")) != -1) { + while ((opt = getopt(argc, argv, "CF:ilPru")) != -1) { switch (opt) { - case 'c': + case 'C': // equivalent to --configure in official dpkg dpkg_opt |= dpkg_opt_configure; dpkg_opt |= dpkg_opt_package_name; break; diff --git a/dpkg.c b/dpkg.c index dfae9ed70..e9afe5f6e 100644 --- a/dpkg.c +++ b/dpkg.c @@ -1290,9 +1290,9 @@ extern int dpkg_main(int argc, char **argv) int status_num; int i; - while ((opt = getopt(argc, argv, "cF:ilPru")) != -1) { + while ((opt = getopt(argc, argv, "CF:ilPru")) != -1) { switch (opt) { - case 'c': + case 'C': // equivalent to --configure in official dpkg dpkg_opt |= dpkg_opt_configure; dpkg_opt |= dpkg_opt_package_name; break; -- cgit v1.2.3-55-g6feb