correction fonction read

This commit is contained in:
lebartal committed 2026-01-24 20:51:14 +01:00
1 parent 9ff5e98991
commit 8cb5ca4da4
4 files changed
+5 -6

No files matched your search

+1 -1
View File
@@ -52,6 +52,6 @@ case ${reponse} in
#Autre
*)
echo -e "${ROUGE}merci de repondre${RESET}"
read -p reponse
read reponse
;;
esac
+3 -3
View File
@@ -19,8 +19,8 @@ if [[ -f "${ROOT_DIR}/sources/couleurs.ksh" ]]; then
fi
# Chargement des fonctions locales
if [[ -f "${dir_script}/sources/fonctions.ksh" ]]; then
. "${dir_script}/sources/fonctions.ksh"
if [[ -f "${ROOT_DIR}/modules/AutoInstall/sources/fonctions.ksh" ]]; then
. "${ROOT_DIR}/modules/AutoInstall/sources/fonctions.ksh"
fi
# Recuperation de la distribution
@@ -77,7 +77,7 @@ case ${reponse} in
#Autre
*)
echo -e "${ROUGE}merci de repondre${RESET}"
read -p reponse
read reponse
;;
esac
+1 -2
View File
@@ -1,4 +1,3 @@
#Chargement des couleurs
#! /bin/bash
# Couleurs de texte (Foreground)
@@ -26,7 +25,7 @@ RESET="\e[0m"
if command -v nala >/dev/null 2>&1; then
{
gest_pkg="nala"
};
}
else
{
gest_pkg="apt"
Regular → Executable
View File
File mode changed.