summaryrefslogtreecommitdiff
path: root/db-sync
diff options
context:
space:
mode:
Diffstat (limited to 'db-sync')
-rwxr-xr-xdb-sync10
1 files changed, 5 insertions, 5 deletions
diff --git a/db-sync b/db-sync
index df8675e..6902828 100755
--- a/db-sync
+++ b/db-sync
@@ -69,8 +69,8 @@ init() {
get_repos
# Traverse all repo-arch pairs
- for _repo in "${ARCHREPOS[@]}"; do
- for _arch in "${ARCHARCHES[@]}"; do
+ for _repo in "${derivative_repositories[@]}"; do
+ for _arch in "${derivative_architectures[@]}"; do
msg "Processing %s-%s" "${_repo}-${_arch}"
db_file=$(get_repo_file "${_repo}" "${_arch}")${database_extension_suffixfile}
@@ -145,7 +145,7 @@ init() {
# *Don't delete-after*, this is the job of cleanup scripts. It will remove our
# packages too
local pkgpool
- for pkgpool in "${ARCHPKGPOOLS[@]}"; do
+ for pkgpool in "${ARCHpackages_poolS[@]}"; do
rsync "${extra[@]}" --no-motd -rtlH \
--delay-updates \
--safe-links \
@@ -164,7 +164,7 @@ init() {
# *Don't delete-after*, this is the job of cleanup scripts. It will remove our
# packages too
local srcpool
- for srcpool in "${ARCHSRCPOOLS[@]}"; do
+ for srcpool in "${ARCHsources_poolS[@]}"; do
rsync "${extra[@]}" --no-motd -rtlH \
--delay-updates \
--safe-links \
@@ -192,7 +192,7 @@ source "$(dirname "$(readlink -e "$0")")/etc/dbscripts.cfg"
source "$(dirname "$(readlink -e "$0")")/share/db-libremessages"
# Check variables presence
-for var in database_extension_suffixfile files_extension_suffixfile mirror mirror_path work_directory blacklist_file root_dir ARCHSRCPOOLS ARCHPKGPOOLS; do
+for var in database_extension_suffixfile files_extension_suffixfile mirror mirror_path work_directory blacklist_file root_dir ARCHsources_poolS ARCHpackages_poolS; do
test -z "${!var}" && fatal_error "Empty %s" "${var}"
done