summaryrefslogtreecommitdiff
path: root/db-sync
diff options
context:
space:
mode:
Diffstat (limited to 'db-sync')
-rwxr-xr-xdb-sync6
1 files changed, 3 insertions, 3 deletions
diff --git a/db-sync b/db-sync
index 6902828..9b87d50 100755
--- a/db-sync
+++ b/db-sync
@@ -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 "${ARCHpackages_poolS[@]}"; do
+ for pkgpool in "${derivative_packages_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 "${ARCHsources_poolS[@]}"; do
+ for srcpool in "${derivative_sources_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 ARCHsources_poolS ARCHpackages_poolS; do
+for var in database_extension_suffixfile files_extension_suffixfile mirror mirror_path work_directory blacklist_file root_dir derivative_sources_pools derivative_packages_pools; do
test -z "${!var}" && fatal_error "Empty %s" "${var}"
done