diff options
Diffstat (limited to 'db-update')
-rwxr-xr-x | db-update | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |