Remove noninteractive variable

This commit is contained in:
T. R. Bernstein
2024-06-30 23:24:37 +02:00
committed by T. R. Bernstein
parent b6ccc90bee
commit 703c3498b8
2 changed files with 0 additions and 3 deletions

View File

@@ -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" "$@"

View File

@@ -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[@]}"