README file (and some fixes)
This commit is contained in:
parent
6023ed42bf
commit
1375ee2f3c
4 changed files with 56 additions and 8 deletions
|
@ -76,6 +76,7 @@ mod_deps() {
|
|||
|
||||
while read relation dep; do
|
||||
mod_check_dep $modpath $relation $dep
|
||||
[ $? -gt 0 ] && return $?;
|
||||
done < "$modpath/depend"
|
||||
return 0;
|
||||
}
|
||||
|
@ -103,8 +104,9 @@ mod_check_dep() {
|
|||
fi
|
||||
;;
|
||||
"after")
|
||||
if [ -z "$ZMODLOAD_ONLY" ] \
|
||||
|| in_array "$dep" "${(@)ZMODLOAD_ONLY}"; then
|
||||
if ([ -z "$ZMODLOAD_ONLY" ] \
|
||||
|| in_array "$dep" "${(@)ZMODLOAD_ONLY}")
|
||||
&& ! in_array "$dep" "${(@)ZMODLOAD_BLACKLIST}"; then
|
||||
mod_queue "$dep" is_dep ${modpath};
|
||||
fi ;;
|
||||
"block")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue