Remove host specific settings

We've moved them to individual binaries.
This commit is contained in:
T. R. Bernstein
2025-08-31 20:21:30 +02:00
parent cc2ab1523c
commit 2f80bcb7ff
3 changed files with 1 additions and 110 deletions

View File

@@ -114,8 +114,6 @@ function main() {
-l, --list List modules that are going to be installed and
exit without installation. Modules are printed in
minimal but still distinct paths.
--host-specific Include host-specific default modules.
--host-specific-only Include only host-specific default modules.
-d FILE, --logfile FILE Print log message to logfile instead of stdout.
-v, --verbose Be more verbose.
--config-only PATH Ask module questions, generate config at PATH and
@@ -132,8 +130,7 @@ function main() {
lop -- -d "Current working dir is: `pwd`"
lop -- -d "Called main with $# args: $*"
[[ ${host_specific_only} == 'false' ]] && modpath+=("${_DIR}/modules")
[[ ${host_specific} == 'true' || ${host_specific_only} == 'true' ]] && modpath+=("${_DIR}/modules/host-specific")
modpath+=("${_DIR}/modules")
{ [[ ${inverse} == true ]] && inverse=-i } || inverse=
loadModules -v modulesToInstall ${$(echo -m):^^modpath} ${inverse} "${module[@]}"
[ "${list}" = true ] && printModulesToInstall