1
0
mirror of https://github.com/sheumann/hush.git synced 2025-04-29 07:37:08 +00:00

Use the unofficial -C instead of -c to --configure a package, -c conflicts with another dpkg command

This commit is contained in:
Glenn L McGrath 2001-07-18 05:17:39 +00:00
parent b9e4ce99d8
commit 778041f8d1
2 changed files with 4 additions and 4 deletions
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;

4
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;