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" }