1
0
Fork 0
mirror of https://github.com/Luzifer/archrepo.git synced 2024-12-20 13:11:17 +00:00

Fix: Query should consist of all whitelisted packages

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-07-20 00:49:28 +02:00
parent 89bb621a4e
commit e0dd7dc6ca
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -25,6 +25,7 @@ step "Collecting local package versions..."
# Prime the local_versions array from the package list
for package in $(<aur-packages); do
local_versions[${package}]=0.0.0
aur_query+=("arg[]=${package}")
done
# Update versions in local_versions from database entries
@ -37,7 +38,6 @@ for package in ${known_packages}; do
[[ -n ${local_versions[${name}]:-} ]] || continue
local_versions[${name}]=${version}
aur_query+=("arg[]=${name}")
done
step "Fetching AUR package versions..."