diff options
Diffstat (limited to 'scripts/depmod.sh')
-rwxr-xr-x | scripts/depmod.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/depmod.sh b/scripts/depmod.sh index e083bcae343f..cc1385a3d726 100755 --- a/scripts/depmod.sh +++ b/scripts/depmod.sh @@ -21,6 +21,12 @@ if [ -z $(command -v $DEPMOD) ]; then exit 0 fi +if [ -z $(command -v $DEPMOD) ]; then + echo "'make modules_install' requires $DEPMOD. Please install it." >&2 + echo "This is probably in the kmod package." >&2 + exit 1 +fi + # older versions of depmod require the version string to start with three # numbers, so we cheat with a symlink here depmod_hack_needed=true |