From e08abd67775b32799cc1e2d7f4529b298e24be39 Mon Sep 17 00:00:00 2001 From: vxtls <187420201+vxtls@users.noreply.github.com> Date: Sun, 1 Mar 2026 14:24:18 -0500 Subject: [PATCH] fix(payload-import): replace unsupported kaem elif with nested if for checksum branch --- steps/payload-import-1.0/pass1.kaem | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/steps/payload-import-1.0/pass1.kaem b/steps/payload-import-1.0/pass1.kaem index fd5d7cac..cc982fdb 100644 --- a/steps/payload-import-1.0/pass1.kaem +++ b/steps/payload-import-1.0/pass1.kaem @@ -14,6 +14,8 @@ if match x${UPDATE_CHECKSUMS} xTrue; then /usr/bin/payload-import cp ${pkg}.checksums ${SRCDIR} -elif test -f ${pkg}.checksums; then - sha256sum -c ${pkg}.checksums +else + if test -f ${pkg}.checksums; then + sha256sum -c ${pkg}.checksums + fi fi