Fix vconsole.conf sed script (#1218252)

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2015-05-05 13:51:19 -04:00
parent ef7b485f69
commit 75a820ceb0

View File

@ -641,7 +641,7 @@ grep -v -E -q '^(devpts|tmpfs|sysfs|proc)' /etc/fstab || \
# Replace obsolete keymaps
# 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 || :
# Services we install by default, and which are controlled by presets.