Skip to content

Commit 3a815c4

Browse files
committed
output
1 parent 10547dd commit 3a815c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

debian/usability-misc.postinst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ generate_grub_keyboard_layouts_maybe() {
5959
true "INFO: Skipping 'set-grub-keymap --build-all' because postinst is running in chroot, ok."
6060
else
6161
## Use '--no-update-grub' because this postinst script will run 'update-grub' if available anyhow.
62-
if ! set-grub-keymap --build-all --no-update-grub >/dev/null 2>&1; then
62+
if set-grub-keymap --build-all --no-update-grub >/dev/null 2>&1; then
63+
printf '%s\n' "INFO: Command 'set-grub-keymap --build-all' success."
64+
else
6365
printf '%s\n' "INFO: Minor issue. Command 'set-grub-keymap --build-all' failed. This means, the GRUB boot menu will have no keyboard layout selection menu, which is a minor usability feature. For most users, no action is required. If you know to need this feature, please execute 'sudo set-grub-keymap --build-all' (in sysmaint session)."
6466
fi
6567
fi

0 commit comments

Comments
 (0)