From 5618d2cbda70e374a824134954e0d6b364f07f24 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 21:00:21 -0300 Subject: fix variables --- db-sync | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'db-sync') 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 -- cgit v1.2.3-2-g168b