From 97d4d020d97eb8f9fde598c768d1bc19a847bc34 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 12 May 2025 14:30:27 +0100 Subject: vendor.sh: simplify getvfile() Signed-off-by: Leah Rowe --- include/vendor.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include') diff --git a/include/vendor.sh b/include/vendor.sh index bca51496..cd3a10d5 100644 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -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"; : } -- cgit v1.2.1