updated debian files
This commit is contained in:
@@ -2,17 +2,26 @@
|
||||
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'
|
||||
|
||||
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,25 +32,37 @@ DE="${SELECTED_DE:-none}"
|
||||
TWM="${SELECTED_TWM:-none}"
|
||||
INSTALL_LEVEL="${INSTALL_LEVEL:-minimal}"
|
||||
|
||||
# Pause
|
||||
# Pause before continuing
|
||||
read -n 1 -s -r -p "Press any key to continue"
|
||||
|
||||
# Before running FULL first run Minimal
|
||||
color_cyan
|
||||
echo
|
||||
echo "Running Debian Minimal setup first..."
|
||||
color_reset
|
||||
|
||||
# Run the minimal setup
|
||||
bash debian-minimal.sh
|
||||
|
||||
# Now continue with FULL
|
||||
# install tools
|
||||
sudo apt install -y \
|
||||
arandr \
|
||||
catfish \
|
||||
galculator \
|
||||
network-manager \
|
||||
network-manager-applet \
|
||||
network-manager-openvpn \
|
||||
numlockx \
|
||||
pavucontrol \
|
||||
playerctl \
|
||||
xcolors \
|
||||
gparted
|
||||
color_yellow
|
||||
echo
|
||||
echo "Continuing with Debian FULL installation..."
|
||||
color_reset
|
||||
|
||||
|
||||
# Install additional FULL packages
|
||||
sudo apt install -y \
|
||||
arandr \
|
||||
catfish \
|
||||
galculator \
|
||||
network-manager \
|
||||
network-manager-applet \
|
||||
network-manager-openvpn \
|
||||
numlockx \
|
||||
pavucontrol \
|
||||
playerctl \
|
||||
xcolors \
|
||||
gparted
|
||||
|
||||
color_green
|
||||
echo
|
||||
echo "Debian FULL installation packages installed."
|
||||
color_reset
|
||||
|
||||
Reference in New Issue
Block a user