[type/__download] bugfix checksum not found

when the checksum is not found while using __download it displays and error
saying "no checksum from target" this information is wrong and confusing. In
fact, the state explorer is missing a default condition, when the other
conditions are not satisfied
This commit is contained in:
pedro 2021-06-20 10:36:09 +02:00
parent c308a28969
commit f6b24359d8

View file

@ -61,6 +61,9 @@ else
sum_is="sha256:$( sha256sum "$dst" | awk '{print $1}' )" sum_is="sha256:$( sha256sum "$dst" | awk '{print $1}' )"
;; ;;
esac esac
else
echo "could not detect checksum method, check type's manual" >&2
exit 1
fi fi
fi fi