Use the unofficial -C instead of -c to --configure a package, -c conflicts with another dpkg command
This commit is contained in:
parent
b9e4ce99d8
commit
778041f8d1
@ -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
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;
|
||||
|
Loading…
Reference in New Issue
Block a user