correction fonction read
This commit is contained in:
1 parent
9ff5e98991
commit
8cb5ca4da4
4 files changed
+5
-6
No files matched your search
@@ -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
|
||||
|
||||
Regular → Executable
+1
-2
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user