From 6c7c958a09b4bae11f11f7f9d0bb05f63d55e9b9 Mon Sep 17 00:00:00 2001 From: Cory Sanin Date: Fri, 8 Dec 2023 14:24:56 -0500 Subject: [PATCH] updpkgsums suggestion in readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f0a6796..724c51d 100644 --- a/README.md +++ b/README.md @@ -29,4 +29,6 @@ Note that if the ssh directory is empty, a key will be automatically generated. ## script.sh -This script runs within the repository directory. It should check for an update and make the appropriate changes to the PKGBUILD file. No need to update the .SRCINFO and no need to stage PKGBUILD or .SRCINFO. All other files that aren't staged will be removed, so don't worry about cleaning up. \ No newline at end of file +This script runs within the repository directory. It should check for an update and make the appropriate changes to the PKGBUILD file. No need to update the .SRCINFO and no need to stage PKGBUILD or .SRCINFO. All other files that aren't staged will be removed, so don't worry about cleaning up. + +The script is also responsible for updating checksums. Consider using `git diff --exit-code PKGBUILD || updpkgsums` at the end of the script. This will only update checksums if a change is detected. \ No newline at end of file