forked from kiss-community/kiss
kiss: remove now pointless case
This commit is contained in:
parent
72e67ef547
commit
32c1a848cb
4
kiss
4
kiss
@ -510,8 +510,6 @@ pkg_checksums() {
|
|||||||
repo_dir=$(pkg_find "$1")
|
repo_dir=$(pkg_find "$1")
|
||||||
|
|
||||||
while read -r src _; do
|
while read -r src _; do
|
||||||
case $src in
|
|
||||||
*)
|
|
||||||
# File is local to the package.
|
# File is local to the package.
|
||||||
if [ -f "$repo_dir/$src" ]; then
|
if [ -f "$repo_dir/$src" ]; then
|
||||||
src_path=$repo_dir/${src%/*}
|
src_path=$repo_dir/${src%/*}
|
||||||
@ -529,8 +527,6 @@ pkg_checksums() {
|
|||||||
# of files is to 'cd' to the file's directory beforehand.
|
# of files is to 'cd' to the file's directory beforehand.
|
||||||
(cd "$src_path" && sha256sum "${src##*/}") ||
|
(cd "$src_path" && sha256sum "${src##*/}") ||
|
||||||
die "[$1] Failed to generate checksums"
|
die "[$1] Failed to generate checksums"
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done < "$repo_dir/sources"
|
done < "$repo_dir/sources"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user