abuild: make sure we don't add dupes of provides
This commit is contained in:
parent
fede6d1161
commit
b3174ba768
@ -1069,7 +1069,7 @@ trace_apk_deps() {
|
|||||||
>> "$dir"/.PKGINFO
|
>> "$dir"/.PKGINFO
|
||||||
fi
|
fi
|
||||||
if [ -f "$dir"/.provides-pc ]; then
|
if [ -f "$dir"/.provides-pc ]; then
|
||||||
sed 's/^/provides = pc:/' "$dir"/.provides-pc \
|
sed 's/^/provides = pc:/' "$dir"/.provides-pc | sort -u \
|
||||||
>> "$dir"/.PKGINFO
|
>> "$dir"/.PKGINFO
|
||||||
fi
|
fi
|
||||||
[ -z "$autodeps" ] && return 0
|
[ -z "$autodeps" ] && return 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user