diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2001-07-18 05:17:39 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2001-07-18 05:17:39 +0000 |
commit | 778041f8d1063042a8aaff045d6a6ca98009b641 (patch) | |
tree | c123d92cdda87540163d43ccd68ba0e90810ac10 | |
parent | b9e4ce99d82483ed0fd8b691ef88afac9c5fee65 (diff) | |
download | busybox-778041f8d1063042a8aaff045d6a6ca98009b641.tar.gz |
Use the unofficial -C instead of -c to --configure a package, -c conflicts with another dpkg command
-rw-r--r-- | archival/dpkg.c | 4 | ||||
-rw-r--r-- | 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; @@ -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; |