elaboration menu AutoInstall

This commit is contained in:
lebartal committed 2026-01-24 20:58:25 +01:00
1 parent 8cb5ca4da4
commit bb8ef93eef
2 files changed
+18 -18

No files matched your search

+9
View File
@@ -50,6 +50,15 @@ case ${reponse} in
1) 1)
maj_depot maj_depot
maj_systeme
install_nala
install_packages
install_flatpaks
install_atuin
install_mainline
install_zsh
config_zsh
config_alias
;; ;;
2) 2)
+9 -18
View File
@@ -1,25 +1,16 @@
#! /bin/bash #! /bin/bash
# Couleurs de texte (Foreground) if [[ -z "${ROOT_DIR}" ]]; then
NOIR='\e[30m' echo "Erreur : Veuillez lancer ce script via le menu.ksh principal."
ROUGE='\e[31m' exit 1
VERT='\e[32m' fi
JAUNE='\e[33m'
BLEU='\e[34m'
VIOLET='\e[35m'
CYAN='\e[36m'
BLANC='\e[37m'
# Couleurs de fond (Background) dir_script=$(cd "$(dirname "$0")" && pwd)
BG_NOIR='\e[40m'
BG_ROUGE='\e[41m'
BG_VERT='\e[42m'
BG_JAUNE='\e[43m'
# Styles #Chargement des couleurs (via la racine globale)
GRAS='\e[1m' if [[ -f "${ROOT_DIR}/sources/couleurs.ksh" ]]; then
SOULIGNE='\e[4m' . "${ROOT_DIR}/sources/couleurs.ksh"
RESET="\e[0m" fi
#Verif gestionnaire packages #Verif gestionnaire packages
if command -v nala >/dev/null 2>&1; then if command -v nala >/dev/null 2>&1; then