1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-23 07:30:16 -07:00

kiss: fix checksums error. Closes #220

This commit is contained in:
Dylan Araps 2021-07-06 12:30:31 +03:00
parent d1dad7eefd
commit 0d69e23048
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

2
kiss
View File

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