vendor.sh: simplify getvfile()

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-05-12 14:30:27 +01:00
parent 57f896ac01
commit 97d4d020d9
+1 -7
View File
@@ -230,14 +230,8 @@ check_vcfg()
getvfile()
{
# valid vcfg. proceed to download files
eval "`setcfg "$vfile"`"
bootstrap
[ $# -gt 0 ] && getfiles
[ $# -gt 0 ] && return 0 # download
bootstrap && [ $# -gt 0 ] && getfiles && return 0 # download
fx_ prep x_ find "$tmpromdir" -maxdepth 1 -type f -name "*.rom"
( check_vendor_hashes ) || err "$archive: Can't verify hashes"; :
}