mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-17 18:34:57 +02:00
vendor.sh: simplify getvfile()
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-7
@@ -230,14 +230,8 @@ check_vcfg()
|
|||||||
|
|
||||||
getvfile()
|
getvfile()
|
||||||
{
|
{
|
||||||
# valid vcfg. proceed to download files
|
|
||||||
eval "`setcfg "$vfile"`"
|
eval "`setcfg "$vfile"`"
|
||||||
|
bootstrap && [ $# -gt 0 ] && getfiles && return 0 # download
|
||||||
bootstrap
|
|
||||||
|
|
||||||
[ $# -gt 0 ] && getfiles
|
|
||||||
[ $# -gt 0 ] && return 0 # download
|
|
||||||
|
|
||||||
fx_ prep x_ find "$tmpromdir" -maxdepth 1 -type f -name "*.rom"
|
fx_ prep x_ find "$tmpromdir" -maxdepth 1 -type f -name "*.rom"
|
||||||
( check_vendor_hashes ) || err "$archive: Can't verify hashes"; :
|
( check_vendor_hashes ) || err "$archive: Can't verify hashes"; :
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user