forked from kiss-community/kiss
kiss: sources comment support
This commit is contained in:
parent
83a1f8ca17
commit
1b4196c4e1
6
kiss
6
kiss
@ -660,8 +660,12 @@ pkg_checksums() {
|
||||
repo_dir=$(pkg_find "$1")
|
||||
|
||||
while read -r src _ || [ "$src" ]; do
|
||||
# Comment.
|
||||
if [ -z "${src##\#*}" ]; then
|
||||
continue
|
||||
|
||||
# File is local to the package.
|
||||
if [ -f "$repo_dir/$src" ]; then
|
||||
elif [ -f "$repo_dir/$src" ]; then
|
||||
src_path=$repo_dir/${src%/*}
|
||||
|
||||
# File is remote and was downloaded.
|
||||
|
Loading…
Reference in New Issue
Block a user