index : devops | |
Archlinux32 devs' convenience-scripts | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | update-archlinux32-package | 6 |
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') |