Fix vconsole.conf sed script (#1218252)
This commit is contained in:
parent
ef7b485f69
commit
75a820ceb0
@ -641,7 +641,7 @@ grep -v -E -q '^(devpts|tmpfs|sysfs|proc)' /etc/fstab || \
|
|||||||
|
|
||||||
# Replace obsolete keymaps
|
# Replace obsolete keymaps
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1151958
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1151958
|
||||||
grep -v -E -q '^KEYMAP="?fi-latin[19]"?' /etc/vconsole.conf || \
|
grep -q -E '^KEYMAP="?fi-latin[19]"?' /etc/vconsole.conf 2>/dev/null &&
|
||||||
sed -i.rpm.bak -r 's/^KEYMAP="?fi-latin[19]"?/KEYMAP="fi"/' /etc/vconsole.conf || :
|
sed -i.rpm.bak -r 's/^KEYMAP="?fi-latin[19]"?/KEYMAP="fi"/' /etc/vconsole.conf || :
|
||||||
|
|
||||||
# Services we install by default, and which are controlled by presets.
|
# Services we install by default, and which are controlled by presets.
|
||||||
|
Loading…
Reference in New Issue
Block a user