Permalink
Browse files

add --force to dkms install for xpad and mkarcadejoystick

  • Loading branch information...
joolswills committed Jun 28, 2018
1 parent d34920b commit f6e5a6d70512fc796a4fb535ddf1b44ea985db47
Showing with 2 additions and 2 deletions.
  1. +1 −1 scriptmodules/supplementary/mkarcadejoystick.sh
  2. +1 −1 scriptmodules/supplementary/xpad.sh
@@ -40,7 +40,7 @@ function build_mkarcadejoystick() {
else
kernel="$(uname -r)"
fi
dkms install -m mk_arcade_joystick_rpi -v 0.1.5 -k "$kernel"
dkms install --force -m mk_arcade_joystick_rpi -v 0.1.5 -k "$kernel"
if dkms status | grep -q "^mk_arcade_joystick"; then
md_ret_error+=("Failed to install $md_id")
return 1
@@ -72,7 +72,7 @@ function build_xpad() {
else
kernel="$(uname -r)"
fi
dkms install -m xpad -v 0.4 -k "$kernel"
dkms install --force -m xpad -v 0.4 -k "$kernel"
}
function remove_xpad() {

0 comments on commit f6e5a6d

Please sign in to comment.