mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 08:30:05 -07:00
kiss: Final clean up of pkg_checksums()
This commit is contained in:
parent
e7eb498d34
commit
9f162fd4d0
6
kiss
6
kiss
@ -718,8 +718,7 @@ pkg_checksums() {
|
||||
# Support packages without sources. Simply do nothing.
|
||||
[ -f "$repo_dir/sources" ] || return 0
|
||||
|
||||
while read -r src _ || [ "$src" ]; do
|
||||
case $src in \#*) ;;
|
||||
while read -r src _ || [ "$src" ]; do case $src in \#*) ;;
|
||||
git+*) printf 'git %s\n' "$src" ;;
|
||||
|
||||
*)
|
||||
@ -735,8 +734,7 @@ pkg_checksums() {
|
||||
sh256 "${src##*/}" ||
|
||||
die "$1" "Failed to generate checksums"
|
||||
;;
|
||||
esac
|
||||
done < "$repo_dir/sources"
|
||||
esac; done < "$repo_dir/sources"
|
||||
}
|
||||
|
||||
pkg_verify() {
|
||||
|
Loading…
Reference in New Issue
Block a user