Change FORCED to FORCE
MODIFY
.scripts/question_prompt.sh
.scripts/question_prompt.sh
@@ -7,7 +7,7 @@ question_prompt() {
local DEFAULT=${2:-Y}
local QUESTION=${3:-}
local YN
- if [[ ${PROMPT:-} != "FORCED" ]] && [[ ${PROMPT:-} != "GUI" ]]; then
+ if [[ ${PROMPT:-} != "FORCE" ]] && [[ ${PROMPT:-} != "GUI" ]]; then
PROMPT="CLI"
fi
while true; do

MODIFY
main.sh
main.sh
@@ -371,7 +371,7 @@ main() {
# Repo Check
local PROMPT
if [[ ${FORCE:-} == true ]]; then
- PROMPT="FORCED"
+ PROMPT="FORCE"
fi
local DS_COMMAND
DS_COMMAND=$(command -v ds || true)
@@ -485,7 +485,7 @@ main() {
exit
fi
# Run Menus
- if [[ ${PROMPT:-} != "FORCED" ]]; then
+ if [[ ${PROMPT:-} != "FORCE" ]]; then
PROMPT="GUI"
fi
run_script 'menu_main'

Change FORCED to FORCE