Use the unofficial -C instead of -c to --configure a package, -c conflicts with anoth...
authorGlenn L McGrath <bug1@ihug.co.nz>
Wed, 18 Jul 2001 05:17:39 +0000 (05:17 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Wed, 18 Jul 2001 05:17:39 +0000 (05:17 -0000)
archival/dpkg.c
dpkg.c

index dfae9ed708e54005fc83c34a7a36dd2726695518..e9afe5f6e66f53328929f083c71b9199cbef7eb9 100644 (file)
@@ -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 dfae9ed708e54005fc83c34a7a36dd2726695518..e9afe5f6e66f53328929f083c71b9199cbef7eb9 100644 (file)
--- 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;