Modification de la vérification du fichier
This commit is contained in:
@@ -137,7 +137,7 @@ creeMV()
|
|||||||
if [[ ${temoin_b} -ne 1 ]]; then
|
if [[ ${temoin_b} -ne 1 ]]; then
|
||||||
case ${1} in
|
case ${1} in
|
||||||
"ovmf"|"OVMF")
|
"ovmf"|"OVMF")
|
||||||
if [[ ! $(ls /usr/share/ovmf/OVMF.fd 2>/dev/null) ]]; then
|
if [[ ! -f "/usr/share/ovmf/OVMF.fd" ]]; then
|
||||||
die "Le paquet ovmf n'est pas installé." 6
|
die "Le paquet ovmf n'est pas installé." 6
|
||||||
fi
|
fi
|
||||||
commandes_a_executer+=( "nouvMV bios $(echo ${1} | tr '[:lower:]' '[:upper:]')")
|
commandes_a_executer+=( "nouvMV bios $(echo ${1} | tr '[:lower:]' '[:upper:]')")
|
||||||
|
|||||||
Reference in New Issue
Block a user