Modification de la vérification du fichier
This commit is contained in:
@@ -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:]')")
|
||||
|
||||
Reference in New Issue
Block a user