Modification de la vérification du fichier

This commit is contained in:
Nicolas MORIN
2024-01-05 15:49:54 +01:00
parent 9664e92772
commit 1cd2b0d307
+1 -1
View File
@@ -137,7 +137,7 @@ creeMV()
if [[ ${temoin_b} -ne 1 ]]; then
case ${1} in
"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
fi
commandes_a_executer+=( "nouvMV bios $(echo ${1} | tr '[:lower:]' '[:upper:]')")