|
|
|
@ -134,7 +134,14 @@ creeMV()
|
|
|
|
|
presenceParametre "$#" "$1"
|
|
|
|
|
shift
|
|
|
|
|
if [[ ${temoin_b} -ne 1 ]]; then
|
|
|
|
|
#commandes_a_executer+=( "nouvMV ${nom_mv}")
|
|
|
|
|
case ${1} in
|
|
|
|
|
"ovmf"|"OVMF")
|
|
|
|
|
if [[ ! $(ls /usr/share/ovmf/OVMF.fd 2>/dev/null) ]]; then
|
|
|
|
|
die "Le paquet ovmf n'est pas installé." 6
|
|
|
|
|
fi
|
|
|
|
|
commandes_a_executer+=( "nouvMV bios $(echo ${1} | tr '[:lower:]' '[:upper:]')")
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
temoin_b=1
|
|
|
|
|
else
|
|
|
|
|
die "L'option ${1} a déjà été renseignée." 3
|
|
|
|
|