Skip to content

Commit

Permalink
fix(scripts): dkms remove failed with dkms 2.2.x
Browse files Browse the repository at this point in the history
dkms 2.2.1.0 does not allow omit --all in dkms remove
  • Loading branch information
haruue committed Nov 17, 2023
1 parent a6ff822 commit 766a32b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install_dkms.sh
Expand Up @@ -544,7 +544,7 @@ dkms_remove_modules() {
local _dkms_version="${version#v}"

echo -n "Removing DKMS module $_module/$_dkms_version ... "
if dkms remove "$_module/$_dkms_version" > /dev/null; then
if dkms remove "$_module/$_dkms_version" --all > /dev/null; then
echo "ok"
else
# suppress dkms remove failed, shall not to be a problem
Expand Down

0 comments on commit 766a32b

Please sign in to comment.