vendor.sh: simplify e6400 vga rom file check

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit6
Leah Rowe 2024-06-29 02:25:22 +01:00
parent 163bcfcdfd
commit 7a12cd7704
1 changed files with 1 additions and 2 deletions

View File

@ -179,8 +179,7 @@ extract_e6400vga()
x_ cd "$appdir"
[ -f "bios.bin" ] || $err "extract_e6400vga: can't extract bios.bin"
"$e6400_unpack" bios.bin || printf "TODO: fix dell extract util\n"
[ -f "$E6400_VGA_romname" ] || \
$err "extract_e6400vga: can't extract vga rom from bios.bin"
e "$E6400_VGA_romname" f missing && $err "can't extract e6400 vga rom"
) || $err "can't extract e6400 vga rom"
cp "$appdir/$E6400_VGA_romname" "$_dest" || \
$err "extract_e6400vga $board: can't copy vga rom to $_dest"