Fix error in answers cache logic
This commit is contained in:
committed by
T. R. Bernstein
parent
d8d641c671
commit
349120f0a3
@@ -6,16 +6,16 @@ runModule() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function askNecessaryQuestions() {
|
function askNecessaryQuestions() {
|
||||||
local mod= configOnlyArgs=()
|
local mod= configArgs=()
|
||||||
config setappname "de.astzweig.macos.system-setup"
|
config setappname "de.astzweig.macos.system-setup"
|
||||||
if [ -n "${config_only}" ]; then
|
if [ -n "${config_only}" ]; then
|
||||||
lop -- -d "Config only option given with value:" -d "${config_only}"
|
lop -- -d "Config only option given with value:" -d "${config_only}"
|
||||||
config setconfigfile "${config_only}"
|
config setconfigfile "${config_only}"
|
||||||
configOnlyArgs=(-x)
|
|
||||||
elif [ -n "${config}" ]; then
|
elif [ -n "${config}" ]; then
|
||||||
config setconfigfile "${config}"
|
config setconfigfile "${config}"
|
||||||
|
configArgs=(-x)
|
||||||
fi
|
fi
|
||||||
askUserModuleQuestions ${configOnlyArgs} -c config -v moduleAnswers ${modulesToInstall}
|
askUserModuleQuestions ${configArgs} -c config -v moduleAnswers ${modulesToInstall}
|
||||||
}
|
}
|
||||||
|
|
||||||
function printModulesToInstall() {
|
function printModulesToInstall() {
|
||||||
|
|||||||
Reference in New Issue
Block a user