summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdb-sync-arm3
1 files changed, 1 insertions, 2 deletions
diff --git a/db-sync-arm b/db-sync-arm
index fc6a080..155731a 100755
--- a/db-sync-arm
+++ b/db-sync-arm
@@ -156,8 +156,7 @@ init() {
# Search packages in whitelist to create symlinks
sed -i 's/^/\^/' "/tmp/${_repo}-${_arch}.whitelist"
- ls "${FTP_BASE}/${pkgpool}/" \
- grep -w -f "/tmp/${_repo}-${_arch}.whitelist" \
+ ls "${FTP_BASE}/${pkgpool}/" | grep -w -f "/tmp/${_repo}-${_arch}.whitelist" \
> "/tmp/${_repo}-${_arch}.pkgwhitelist"
msg "Putting symlinks in ${_repo}/os/${_arch}"