zenpower
zenpower copied to clipboard
minor improvements to the Makefile target "dkms-install"
I just attempted to install it after a fresh minimal install of ubuntu 20.04, then of course it failed due to no dkms.
After installing dkms via package manager, it failed again due to mkdir'ing an existing path, which was the residue from the last unsuccessful attempt.
Suggesting to make changes so that:
- add
-parg tomkdirso that it doesn't fail if the path exists already - test the
dkmsavailability before any action in thedkms-installtarget, so that it will neither create directory nor copy those paths ifdkmsis unavailable.