elaboration menu AutoInstall
This commit is contained in:
1 parent
8cb5ca4da4
commit
bb8ef93eef
2 files changed
+18
-18
No files matched your search
@@ -1,25 +1,16 @@
|
||||
#! /bin/bash
|
||||
|
||||
# Couleurs de texte (Foreground)
|
||||
NOIR='\e[30m'
|
||||
ROUGE='\e[31m'
|
||||
VERT='\e[32m'
|
||||
JAUNE='\e[33m'
|
||||
BLEU='\e[34m'
|
||||
VIOLET='\e[35m'
|
||||
CYAN='\e[36m'
|
||||
BLANC='\e[37m'
|
||||
if [[ -z "${ROOT_DIR}" ]]; then
|
||||
echo "Erreur : Veuillez lancer ce script via le menu.ksh principal."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Couleurs de fond (Background)
|
||||
BG_NOIR='\e[40m'
|
||||
BG_ROUGE='\e[41m'
|
||||
BG_VERT='\e[42m'
|
||||
BG_JAUNE='\e[43m'
|
||||
dir_script=$(cd "$(dirname "$0")" && pwd)
|
||||
|
||||
# Styles
|
||||
GRAS='\e[1m'
|
||||
SOULIGNE='\e[4m'
|
||||
RESET="\e[0m"
|
||||
#Chargement des couleurs (via la racine globale)
|
||||
if [[ -f "${ROOT_DIR}/sources/couleurs.ksh" ]]; then
|
||||
. "${ROOT_DIR}/sources/couleurs.ksh"
|
||||
fi
|
||||
|
||||
#Verif gestionnaire packages
|
||||
if command -v nala >/dev/null 2>&1; then
|
||||
|
||||
Reference in new issue
Block a user