should_source_module(): refined check
Do not bail out early if no install exists. Check also for installkernel.master
parent
9ede1929b2
commit
973c23b0d6
|
@ -295,11 +295,11 @@ check_module_deps() {
|
|||
|
||||
should_source_module() {
|
||||
local dep
|
||||
[[ -x $1/install ]] || return 1
|
||||
if [[ $kernel_only = yes ]]; then
|
||||
[[ -x $1/installkernel ]] && return 0
|
||||
return 1
|
||||
fi
|
||||
[[ -x $1/install ]] || [[ -x $1/installkernel ]] || return 1
|
||||
[[ -x $1/check ]] || return 0
|
||||
"$1/check" $hostonly || return 1
|
||||
for dep in $("$1/check" -d); do
|
||||
|
|
Loading…
Reference in New Issue