Restore restructured setup.sh (main was broken by 'corrections' merge)

The corrections commit replaced the lib/+modules/ entrypoint with the
older single-file version, reintroducing the DEBUG_MODE unbound-variable
crash, the unguarded clear, and TWM dispatch pointing at nonexistent
root-level scripts. lib/ and modules/ were orphaned.

Restores the tested restructured setup.sh + the SC2034 fix in lib/common.sh.
This commit is contained in:
Pathfinder
2026-10-27 10:30:17 +01:00
committed by yuri
parent 047eeebcc2
commit c443e4edf3
2 changed files with 239 additions and 196 deletions
+2
View File
@@ -27,6 +27,8 @@ BOLD='\033[1m'
RESET='\033[0m'
# Disable colors if output is not a terminal
# (PURPLE/BLUE/BOLD defined for future use; shellcheck has no way to know that)
# shellcheck disable=SC2034
if [ ! -t 1 ]; then
RED='' GREEN='' YELLOW='' CYAN='' PURPLE='' BLUE='' GRAY='' BOLD='' RESET=''
fi