Actually pass inverse to loadModules
This commit is contained in:
committed by
T. R. Bernstein
parent
31d96b4591
commit
2fd98a1154
@@ -134,7 +134,8 @@ function main() {
|
|||||||
|
|
||||||
[[ ${host_specific_only} == 'false' ]] && modpath+=("${_DIR}/modules")
|
[[ ${host_specific_only} == 'false' ]] && modpath+=("${_DIR}/modules")
|
||||||
[[ ${host_specific} == 'true' || ${host_specific_only} == 'true' ]] && modpath+=("${_DIR}/modules/host-specific")
|
[[ ${host_specific} == 'true' || ${host_specific_only} == 'true' ]] && modpath+=("${_DIR}/modules/host-specific")
|
||||||
loadModules -v modulesToInstall ${$(echo -m):^^modpath} "${module[@]}"
|
{ [[ ${inverse} == true ]] && inverse=-i } || inverse=
|
||||||
|
loadModules -v modulesToInstall ${$(echo -m):^^modpath} ${inverse} "${module[@]}"
|
||||||
[ "${list}" = true ] && printModulesToInstall
|
[ "${list}" = true ] && printModulesToInstall
|
||||||
|
|
||||||
askNecessaryQuestions
|
askNecessaryQuestions
|
||||||
|
|||||||
Reference in New Issue
Block a user