Skip to content

Commit

Permalink
xpadneo, hidraw: Fixup previous commit to properly work with DKMS
Browse files Browse the repository at this point in the history
We missed to adjust the DKMS installer to the new file name. While at
it, rename again to fix a typo.

Fixes: 7d451ed ("xpadneo, hidraw: Work around other software messing with our udev rules")
Link: 7d451ed#commitcomment-148619476
Signed-off-by: Kai Krakow <kai@kaishome.de>
  • Loading branch information
kakra committed Nov 1, 2024
1 parent 4bfe0a1 commit be65dbb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hid-xpadneo/dkms.post_install
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ echo "Installing modalias database..."
install -D -m 0644 -t /etc/modprobe.d etc-modprobe.d/xpadneo.conf

echo "Installing udev rules..."
install -D -m 0644 -t /etc/udev/rules.d etc-udev-rules.d/50-xpadneo-fixup-steamlink.rules
install -D -m 0644 -t /etc/udev/rules.d etc-udev-rules.d/60-xpadneo.rules
install -D -m 0644 -t /etc/udev/rules.d etc-udev-rules.d/70-xpadneo-disable-hidraw.rules

echo "Reloading udev..."
udevadm control --reload
2 changes: 1 addition & 1 deletion hid-xpadneo/dkms.post_remove
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ echo "Uninstalling modalias database..."
rm -f /etc/modprobe.d/xpadneo.conf

echo "Uninstalling udev rules..."
rm -f /etc/udev/rules.d/70-xpadneo-disable-hidraw.rules
rm -f /etc/udev/rules.d/60-xpadneo.rules
rm -f /etc/udev/rules.d/50-xpadneo-fixup-steamlink.rules

echo "Reloading udev..."
udevadm control --reload

1 comment on commit be65dbb

@kode54
Copy link

@kode54 kode54 commented on be65dbb Nov 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Please sign in to comment.