This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=0df14c03e8a6916711d5fc737f6b6d26c661ad02 commit 0df14c03e8a6916711d5fc737f6b6d26c661ad02 Author: Guillem Jover <guil...@debian.org> AuthorDate: Tue Dec 28 19:24:42 2021 +0100 u-a: Do not skip --config with a single entry Even with a single entry the user might want to switch it between auto and manual, something which is possible via the --set option, so it should have an interactive mode too. Reported-by: David Kalnischkies <donk...@debian.org> --- utils/update-alternatives.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/utils/update-alternatives.c b/utils/update-alternatives.c index 716035876..8c2f2d42c 100644 --- a/utils/update-alternatives.c +++ b/utils/update-alternatives.c @@ -1847,12 +1847,6 @@ alternative_config(struct alternative *a, const char *current_choice) pr(_("Nothing to configure.")); } else if (opt_skip_auto && a->status == ALT_ST_AUTO) { alternative_display_user(a); - } else if (alternative_choices_count(a) == 1 && - a->status == ALT_ST_AUTO && - current_choice != NULL) { - pr(_("There is only one alternative in link group %s (providing %s): %s"), - a->master_name, a->master_link, current_choice); - pr(_("Nothing to configure.")); } else { new_choice = alternative_select_choice(a); } -- Dpkg.Org's dpkg