Skip to content

Commit

Permalink
add --force to dkms install for xpad and mkarcadejoystick
Browse files Browse the repository at this point in the history
  • Loading branch information
joolswills committed Jun 28, 2018
1 parent d34920b commit f6e5a6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scriptmodules/supplementary/mkarcadejoystick.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scriptmodules/supplementary/xpad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit f6e5a6d

Please sign in to comment.