From a616b61cc60e566e85a2e46feddfdb4f04d182f4 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 19 Nov 2020 11:38:43 +0200 Subject: [PATCH] kiss: Allow 'SKIP' to be used to disable checksums for a source. Closes #200 --- kiss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kiss b/kiss index 8fcace0..d783d13 100755 --- a/kiss +++ b/kiss @@ -763,7 +763,9 @@ pkg_checksums() { pkg_verify() { # Verify all package checksums. This is achieved by generating a new set # of checksums and then comparing those with the old set. - verify_cmd="NR==FNR{a[\$1];next}/^git .*/{next}!((\$1)in a){exit 1}" + verify_cmd=" + NR==FNR{a[\$1];next}/^git .*|^SKIP$/{next}!((\$1)in a){exit 1} + " for pkg do repo_dir=$(pkg_find "$pkg")