Remove noninteractive variable
This commit is contained in:
committed by
T. R. Bernstein
parent
b6ccc90bee
commit
703c3498b8
@@ -145,7 +145,6 @@ function main() {
|
||||
ensureBinary 'docopts' ensureDocopts || return
|
||||
|
||||
print 'Will now run the installer.'
|
||||
local -A colors=() errColors=()
|
||||
[ -t 1 ] && tput cnorm
|
||||
isDebug && export MACOS_SYSTEM_DEBUG=true
|
||||
"${tmpdir}/install.sh" "$@"
|
||||
|
||||
@@ -132,8 +132,6 @@ function main() {
|
||||
lop -- -d "Current working dir is: `pwd`"
|
||||
lop -- -d "Called main with $# args: $*"
|
||||
|
||||
[[ -n ${noninteractive} && -z ${config} ]] && { lop -- -e 'A config file must be provided in noninteractive mode.'; return 10 }
|
||||
|
||||
[[ ${host_specific_only} == 'false' ]] && modpath+=("${_DIR}/modules")
|
||||
[[ ${host_specific} == 'true' || ${host_specific_only} == 'true' ]] && modpath+=("${_DIR}/modules/host-specific")
|
||||
loadModules -v modulesToInstall ${$(echo -m):^^modpath} "${module[@]}"
|
||||
|
||||
Reference in New Issue
Block a user