forked from kiss-community/kiss
kiss: only run sh256 if we have elements
This commit is contained in:
parent
ab9c0841ff
commit
b48a89c7fa
6
kiss
6
kiss
@ -806,7 +806,8 @@ pkg_etcsums() {
|
|||||||
set -- "$pkg_dir/$repo_name/$etc" "$@"
|
set -- "$pkg_dir/$repo_name/$etc" "$@"
|
||||||
esac done < manifest
|
esac done < manifest
|
||||||
|
|
||||||
_sh256 "$@" > etcsums
|
# Only run _sh256 if we have elements.
|
||||||
|
for f do _sh256 "$@" > etcsums; return 0; done
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_tar() {
|
pkg_tar() {
|
||||||
@ -1019,7 +1020,8 @@ pkg_checksums() {
|
|||||||
esac
|
esac
|
||||||
done < "$repo_dir/sources"
|
done < "$repo_dir/sources"
|
||||||
|
|
||||||
_sh256 "$@"
|
# Only run _sh256 if we have elements.
|
||||||
|
for f do _sh256 "$@"; return 0; done
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_verify() {
|
pkg_verify() {
|
||||||
|
Loading…
Reference in New Issue
Block a user