We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 965facd commit 4f42e39Copy full SHA for 4f42e39
debian/usability-misc.postinst
@@ -58,6 +58,7 @@ generate_grub_keyboard_layouts_maybe() {
58
## Test run of 'localectl' was successful.
59
if ischroot; then
60
true "INFO: Skipping 'set-grub-keymap --build-all' because postinst is running in chroot, ok."
61
+ return 0
62
else
63
## Use '--no-update-grub' because this postinst script will run 'update-grub' if available anyhow.
64
if set-grub-keymap --build-all --no-update-grub >/dev/null 2>&1; then
@@ -67,6 +68,9 @@ generate_grub_keyboard_layouts_maybe() {
67
68
return 0
69
fi
70
71
+ else
72
+ true "INFO: Skipping 'set-grub-keymap --build-all' because localectl failed, ok."
73
74
75
76
0 commit comments