Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/update-archlinux32-package
diff options
context:
space:
mode:
Diffstat (limited to 'update-archlinux32-package')
-rwxr-xr-xupdate-archlinux32-package6
1 files changed, 6 insertions, 0 deletions
diff --git a/update-archlinux32-package b/update-archlinux32-package
index 3659c02..3b283f4 100755
--- a/update-archlinux32-package
+++ b/update-archlinux32-package
@@ -320,6 +320,12 @@ case ${update_path} in
;;
esac
+ if ! grep -qwF sha512sum "${git_repo_path}/${repo}/${pkgname}/PKGBUILD"; then
+ >&2 printf 'Something went wrong: %s has no checksum\nDid you run out of disk space again, deep42thought?\n' \
+ "${git_repo_path}/${repo}/${pkgname}"
+ exit 1
+ fi
+
git -C "${git_repo_path}" commit -m "${repo}/${pkgname}: ${old_pkgver} -> ${new_pkgver}"
;;
'kernel with upstream')