summaryrefslogtreecommitdiff
path: root/db-sync
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-23 21:00:21 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-23 21:00:21 -0300
commit5618d2cbda70e374a824134954e0d6b364f07f24 (patch)
treeb4807702b0b95282e234f59c1d32cad85840c9b5 /db-sync
parent1234da0178b5ec823cb6fe124cb5a99722920ec4 (diff)
fix variables
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