inject.sh: remove unnecessary check

we don't handle single images anymore, so we don't
need to check for it at all.

Signed-off-by: Leah Rowe <leah@libreboot.org>
25.06_branch^2
Leah Rowe 2025-05-27 11:26:00 +01:00
parent 3567d95860
commit ba4fc5e63a
1 changed files with 0 additions and 2 deletions

View File

@ -60,8 +60,6 @@ check_release()
case "$archivename" in
*_src.tar.xz)
err "'$archive' is a src archive, silly!" ;;
grub_*|seagrub_*|custom_*|seauboot_*|seabios_withgrub_*)
err "'$archive' is a ROM image (it must be a tarball)" ;;
*.tar.xz) _stripped_prefix="${archivename#*_}"
board="${_stripped_prefix%.tar.xz}" ;;
*)