summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-23 23:08:29 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-23 23:08:29 -0300
commit715079ee09c198a104964381d4af482adbb0ba6c (patch)
treeff12a6610c1334bec8997c2b730b1aeeb690ccb7
parent0327b2cd83894087862967de6745af22eba14d98 (diff)
any-to-ours: remove native_architectures only (is derivative_distro only dbscript)
-rwxr-xr-xany-to-ours34
1 files changed, 0 insertions, 34 deletions
diff --git a/any-to-ours b/any-to-ours
index 553e809..6c38215 100755
--- a/any-to-ours
+++ b/any-to-ours
@@ -34,38 +34,4 @@ for _repo in "${derivative_native_repositories[@]}"; do
msg2 "No '%s' packages here" any
continue
fi
-
- for _arch in "${native_architectures[@]}"; do
- msg2 "Syncing %s..." "${_arch}"
-
- # Sync 'any' only and extract the synced packages
- SYNCED=($(
- rsync -av \
- --include='*-any.pkg.tar.?z' \
- --include='*-any.pkg.tar.?z.sig' \
- --exclude='*' \
- "${root_dir}/${_repo}/os/${BASEARCH}/" \
- "${root_dir}/${_repo}/os/${_arch}/" 2>&1 | \
- grep 'any\.pkg\.tar\..z$' | \
- cut -d ' ' -f 1 ))
-
- if [ ${#SYNCED[@]} -eq 0 ]; then
- msg2 "Already synced (or error happened)"
- continue
- fi
-
- msg2 "Synced %d packages: %s" "${#SYNCED[@]}" "${SYNCED[*]}"
-
- msg2 "Adding to db..."
-
- pushd "${root_dir}/${_repo}/os/${_arch}/" >/dev/null
-
- # Add the packages to the db
- repo-add "${_repo}${database_extension_suffixfile}" "${SYNCED[@]}"
-
- popd >/dev/null
-
- # Avoid mixups
- unset SYNCED PKGS
- done
done