From 0d69e23048aaca3fe5ec618a3b139ba94a03f8c9 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 6 Jul 2021 12:30:31 +0300 Subject: [PATCH] kiss: fix checksums error. Closes #220 --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index 3b84648..d58eace 100755 --- a/kiss +++ b/kiss @@ -627,7 +627,7 @@ pkg_etcsums() { # This can't be a simple 'find -exec' as 'sh256' is a shell function # and not a real command of any kind. This is the shell equivalent. find "$pkg_dir/$1/etc" ! -type d | sort | while read -r line; do - sh256 "$line" + [ ! -e "$line" ] || sh256 "$line" done > "$pkg_dir/$1/$pkg_db/$1/etcsums" }