mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-23 15:40:07 -07:00
kiss: fix checksums error. Closes #220
This commit is contained in:
parent
d1dad7eefd
commit
0d69e23048
2
kiss
2
kiss
@ -627,7 +627,7 @@ pkg_etcsums() {
|
|||||||
# This can't be a simple 'find -exec' as 'sh256' is a shell function
|
# 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.
|
# 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
|
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"
|
done > "$pkg_dir/$1/$pkg_db/$1/etcsums"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user