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