kiss: Fix no etcsums for symlinks. Related to #193

This commit is contained in:
Dylan Araps 2020-11-19 11:54:18 +02:00
parent 367923b378
commit 8973e18abd
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -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"
)