summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpkgself.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgself.sh b/pkgself.sh
index c47a713..3c86823 100755
--- a/pkgself.sh
+++ b/pkgself.sh
@@ -168,6 +168,11 @@ main() {
cat "${tmp}/run.sh.${COMPRESSEXT}" >> "${output}"
cat "${PKG}.tar.${COMPRESSEXT}" >> "${output}"
+ printf 'Calculating installer checksums\n'
+ cd $(dirname ${output})
+ sha512sum $(basename ${output}) > "${output}.sha512"
+ md5sum $(basename ${output}) > "${output}.md5"
+
# Cleanup
rm -rf ${tmp}
}

Generated by cgit