change xpadneo install script name to be inline with other script names

This commit is contained in:
2025-06-28 20:22:48 -04:00
parent 7ae07456ec
commit c879c0f149
2 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
# Tell build process to exit if there are any errors.
set -oue pipefail
echo "INFO: grab kernel module"
KERNEL_VER=$(ls /lib/modules | head -n 1)
echo $KERNEL_VER
echo "INFO: grab xpad modules"
MODULE_VER=$(ls /usr/src | grep xpadneo | sed 's/-/\//')
echo $MODULE_VER
echo "INFO: build and install xpadneo"
sudo dkms build -m $MODULE_VER -k $KERNEL_VER
sudo dkms install -m $MODULE_VER -k $KERNEL_VER