[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:
parent
c308a28969
commit
f6b24359d8
1 changed files with 3 additions and 0 deletions
|
@ -61,6 +61,9 @@ else
|
|||
sum_is="sha256:$( sha256sum "$dst" | awk '{print $1}' )"
|
||||
;;
|
||||
esac
|
||||
else
|
||||
echo "could not detect checksum method, check type's manual" >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue