Slight simplification
This commit is contained in:
parent
e3edeed65d
commit
fb4de3a52a
@ -599,9 +599,7 @@ udevadm hwdb --update &>/dev/null
|
|||||||
# 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 -q -E '^KEYMAP="?fi-latin[19]"?' /etc/vconsole.conf 2>/dev/null &&
|
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 || :
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
%preun udev
|
%preun udev
|
||||||
%systemd_preun %udev_services
|
%systemd_preun %udev_services
|
||||||
|
Loading…
Reference in New Issue
Block a user