From fb4de3a52a2674f51a1ceb13db368535ec19130f Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Feb 09 2018 13:50:35 +0000 Subject: Slight simplification --- diff --git a/systemd.spec b/systemd.spec index 88bb5d1..2782022 100644 --- a/systemd.spec +++ b/systemd.spec @@ -599,9 +599,7 @@ udevadm hwdb --update &>/dev/null # Replace obsolete keymaps # https://bugzilla.redhat.com/show_bug.cgi?id=1151958 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 - -exit 0 + sed -i.rpm.bak -r 's/^KEYMAP="?fi-latin[19]"?/KEYMAP="fi"/' /etc/vconsole.conf || : %preun udev %systemd_preun %udev_services