forked from kiss-community/kiss
kiss: filter out duplicates in fix deps
This commit is contained in:
parent
82d32dc0e3
commit
e0afa0c2fb
8
kiss
8
kiss
@ -650,6 +650,8 @@ pkg_fix_deps() {
|
||||
set +f
|
||||
set -f -- "$sys_db/"*/manifest
|
||||
|
||||
unset _fdep_seen
|
||||
|
||||
# False positive (not a write).
|
||||
# shellcheck disable=2094
|
||||
while read -r _file; do case $_file in
|
||||
@ -704,6 +706,12 @@ pkg_fix_deps() {
|
||||
continue
|
||||
esac
|
||||
|
||||
# Skip files we have seen before.
|
||||
case " $_fdep_seen " in
|
||||
*" $lib "*) continue ;;
|
||||
*) _fdep_seen="$_fdep_seen $lib"
|
||||
esac
|
||||
|
||||
resolve_path "$lib"
|
||||
|
||||
# Skip file if owned by current package
|
||||
|
Loading…
Reference in New Issue
Block a user