updated debian files

This commit is contained in:
[yuri]
2025-11-10 11:23:02 +01:00
parent eb90ddf11a
commit f502cecaab
10 changed files with 598 additions and 588 deletions

View File

@@ -2,17 +2,27 @@
set -euo pipefail
##########################
# Color helpers
# Color helpers (no tput)
##########################
tput_reset() { tput sgr0; }
tput_black() { tput setaf 0; }
tput_red() { tput setaf 1; }
tput_green() { tput setaf 2; }
tput_yellow() { tput setaf 3; }
tput_cyan() { tput setaf 4; }
tput_purple() { tput setaf 5; }
tput_cyan() { tput setaf 6; }
tput_gray() { tput setaf 7; }
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[0;33m'
CYAN='\033[0;36m'
GRAY='\033[0;37m'
BOLD='\033[1m'
RESET='\033[0m'
# Disable colors if output is not a terminal
if [ ! -t 1 ]; then
RED='' GREEN='' YELLOW='' CYAN='' GRAY='' BOLD='' RESET=''
fi
color_red() { printf '%b' "$RED"; }
color_green() { printf '%b' "$GREEN"; }
color_yellow() { printf '%b' "$YELLOW"; }
color_cyan() { printf '%b' "$CYAN"; }
color_gray() { printf '%b' "$GRAY"; }
color_reset() { printf '%b' "$RESET"; }
##########################
# Use exported variables from main detection script
@@ -23,5 +33,13 @@ DE="${SELECTED_DE:-none}"
TWM="${SELECTED_TWM:-none}"
INSTALL_LEVEL="${INSTALL_LEVEL:-minimal}"
color_cyan
echo
echo "Starting Debian Workstation setup..."
color_reset
echo "DE: $DE, TWM: $TWM, Install Level: $INSTALL_LEVEL"
echo
# Pause
read -n 1 -s -r -p "Press any key to continue"
read -n 1 -s -r -p "Press any key to continue"
echo