From 975660674e48954b1f96cb489a232181b85a4928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?coadde=20=5BM=C3=A1rcio=20Alexandre=20Silva=20Delgado=5D?= Date: Wed, 23 Sep 2015 23:22:45 -0300 Subject: remove deprecated architectures variables --- db-update | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'db-update') diff --git a/db-update b/db-update index e3281c0..60f3142 100755 --- a/db-update +++ b/db-update @@ -21,9 +21,9 @@ for staging_repo in "${staging_repos[@]##*/}"; do fi done -# TODO: this might lock too much (architectures) +# TODO: this might lock too much (native_architectures) for repo in "${repos[@]}"; do - for pkgarch in "${architectures[@]}"; do + for pkgarch in "${native_architectures[@]}"; do repo_lock "${repo}" "${pkgarch}" || exit 1 done done @@ -59,7 +59,7 @@ dirs=() for repo in "${repos[@]}"; do msg "Updating [%s]..." "${repo}" any_pkgs=($(getpkgfiles "${staging_directory}/${repo}/"*-any${package_extension_suffixfile} 2>/dev/null)) - for pkgarch in "${architectures[@]}"; do + for pkgarch in "${native_architectures[@]}"; do add_dirs=() add_pkgs=() arch_pkgs=($(getpkgfiles "${staging_directory}/${repo}/"*-"${pkgarch}"${package_extension_suffixfile} 2>/dev/null)) @@ -93,7 +93,7 @@ for repo in "${repos[@]}"; do done for repo in "${repos[@]}"; do - for pkgarch in "${architectures[@]}"; do + for pkgarch in "${native_architectures[@]}"; do repo_unlock "${repo}" "${pkgarch}" done done -- cgit v1.2.3-2-g168b