correction fonction read
This commit is contained in:
1 parent
9ff5e98991
commit
8cb5ca4da4
4 files changed
+5
-6
No files matched your search
@@ -52,6 +52,6 @@ case ${reponse} in
|
|||||||
#Autre
|
#Autre
|
||||||
*)
|
*)
|
||||||
echo -e "${ROUGE}merci de repondre${RESET}"
|
echo -e "${ROUGE}merci de repondre${RESET}"
|
||||||
read -p reponse
|
read reponse
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -19,8 +19,8 @@ if [[ -f "${ROOT_DIR}/sources/couleurs.ksh" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Chargement des fonctions locales
|
# Chargement des fonctions locales
|
||||||
if [[ -f "${dir_script}/sources/fonctions.ksh" ]]; then
|
if [[ -f "${ROOT_DIR}/modules/AutoInstall/sources/fonctions.ksh" ]]; then
|
||||||
. "${dir_script}/sources/fonctions.ksh"
|
. "${ROOT_DIR}/modules/AutoInstall/sources/fonctions.ksh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Recuperation de la distribution
|
# Recuperation de la distribution
|
||||||
@@ -77,7 +77,7 @@ case ${reponse} in
|
|||||||
#Autre
|
#Autre
|
||||||
*)
|
*)
|
||||||
echo -e "${ROUGE}merci de repondre${RESET}"
|
echo -e "${ROUGE}merci de repondre${RESET}"
|
||||||
read -p reponse
|
read reponse
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
Regular → Executable
+1
-2
@@ -1,4 +1,3 @@
|
|||||||
#Chargement des couleurs
|
|
||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
# Couleurs de texte (Foreground)
|
# Couleurs de texte (Foreground)
|
||||||
@@ -26,7 +25,7 @@ RESET="\e[0m"
|
|||||||
if command -v nala >/dev/null 2>&1; then
|
if command -v nala >/dev/null 2>&1; then
|
||||||
{
|
{
|
||||||
gest_pkg="nala"
|
gest_pkg="nala"
|
||||||
};
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
gest_pkg="apt"
|
gest_pkg="apt"
|
||||||
|
|||||||
Regular → Executable
File mode changed.
Reference in new issue
Block a user