kiss: minor cleanup of etcsums
This commit is contained in:
parent
cc0ab4d072
commit
d98d3a02a8
4
kiss
4
kiss
|
@ -581,7 +581,9 @@ pkg_etcsums() (
|
||||||
|
|
||||||
# This function runs as a sub-shell to avoid having to 'cd' back to the
|
# This function runs as a sub-shell to avoid having to 'cd' back to the
|
||||||
# prior directory before being able to continue.
|
# prior directory before being able to continue.
|
||||||
cd "$pkg_dir/$1/etc" 2>/dev/null || return 0; cd ..
|
[ -d "$pkg_dir/$1/etc" ] || return 0
|
||||||
|
|
||||||
|
cd "$pkg_dir/$1"
|
||||||
|
|
||||||
find etc -type f | while read -r line; do
|
find etc -type f | while read -r line; do
|
||||||
sh256 "$line"
|
sh256 "$line"
|
||||||
|
|
Loading…
Reference in New Issue