From 757b511d71901a445f300f14ce8e54804d54724d Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 9 Sep 2016 08:41:18 -0400 Subject: keyboard: get rid of an extra 'grep' call It's been too long and I've forgotten how to hack on mkinitcpio... --- install/keyboard | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/keyboard b/install/keyboard index e5fb61e..9f35089 100644 --- a/install/keyboard +++ b/install/keyboard @@ -7,7 +7,7 @@ build() { # As of 3.5, modaliases seem to be exported for HID # devices, so we can leverage autodetection. - IFS=.- read major minor _ <<<"$KERNELVERSION" + IFS=.- read -r major minor _ <<<"$KERNELVERSION" if (( major > 3 || (major == 3 && minor >= 5) )); then add_checked_modules '/hid/hid' else @@ -16,7 +16,7 @@ build() { add_module 'usbhid' - map add_checked_modules '/input/keyboard' '/input/serio' + add_checked_modules '/input/(serio|keyboard)' } help() { -- cgit v1.2.3-24-g4f1b