summaryrefslogtreecommitdiffstats
path: root/db-update
diff options
context:
space:
mode:
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update8
1 files changed, 6 insertions, 2 deletions
diff --git a/db-update b/db-update
index e924f45..8105c5d 100755
--- a/db-update
+++ b/db-update
@@ -58,11 +58,15 @@ for repo in ${repos[@]}; do
done
for repo in ${repos[@]}; do
- declare -a pkgfiles=()
for pkgfile in $(getpkgfiles "${STAGING}/${repo}/"*${PKGEXT} 2>/dev/null); do
arch_add_to_pool "$pkgfile"
- pkgfiles=("${pkgfiles[@]}" "${pkgfile##*/}")
+ done
+
+ for file in "$STAGING/$repo"/*/*; do
+ if [[ -h $file ]]; then
+ pkgfiles=("${pkgfiles[@]}" "${file##*/}")
+ fi
done
for pkgarch in ${ARCHES[@]}; do