Skip to content
Snippets Groups Projects
Commit 757b511d authored by Dave Reisner's avatar Dave Reisner
Browse files

keyboard: get rid of an extra 'grep' call

It's been too long and I've forgotten how to hack on mkinitcpio...
parent 1288935e
No related branches found
No related tags found
No related merge requests found
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment