From 8973e18abd095929c726896103b503a2c31072f8 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 19 Nov 2020 11:54:18 +0200 Subject: [PATCH] kiss: Fix no etcsums for symlinks. Related to #193 --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index 446c2b3..8bf5175 100755 --- a/kiss +++ b/kiss @@ -552,7 +552,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 etc -type f | sort | while read -r line; do + find etc ! -type d | sort | while read -r line; do sh256 "$line" done > "$pkg_dir/$1/$pkg_db/$1/etcsums" )