From 75a820ceb0ea69c3c562da640d25f47883131283 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: May 05 2015 17:51:19 +0000 Subject: Fix vconsole.conf sed script (#1218252) --- diff --git a/systemd.spec b/systemd.spec index a32ee6c..39f3a5c 100644 --- a/systemd.spec +++ b/systemd.spec @@ -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.