summaryrefslogtreecommitdiff
path: root/cron-jobs/ftpdir-cleanup
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-24 00:17:39 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-24 00:17:39 -0300
commit922976d3d2fc5279070860fc7a4541160ef72fe1 (patch)
tree377b1c503bdd767dd109eeb032c21aa75e3155fb /cron-jobs/ftpdir-cleanup
parent269be57f429162af70641cdf057d32c217d59ed7 (diff)
rename native_*_pool* -> main_*_pool*
Diffstat (limited to 'cron-jobs/ftpdir-cleanup')
-rwxr-xr-xcron-jobs/ftpdir-cleanup4
1 files changed, 2 insertions, 2 deletions
diff --git a/cron-jobs/ftpdir-cleanup b/cron-jobs/ftpdir-cleanup
index e8321e3..e4de31b 100755
--- a/cron-jobs/ftpdir-cleanup
+++ b/cron-jobs/ftpdir-cleanup
@@ -54,7 +54,7 @@ for repo in "${native_repositories[@]}"; do
done
# get a list of all available packages in the pacakge pool
-find "${root_dir}/${native_packages_pool}" -name "*${package_extension_suffixfile}" -printf '%f\n' | sort > "${work_directory}/pool"
+find "${root_dir}/${main_packages_pool}" -name "*${package_extension_suffixfile}" -printf '%f\n' | sort > "${work_directory}/pool"
# create a list of packages in our db
cat "${work_directory}/db-"* | sort -u > "${work_directory}/db"
@@ -63,7 +63,7 @@ if [ ${#old_pkgs[@]} -ge 1 ]; then
msg "Removing old packages from package pool..."
for old_pkg in "${old_pkgs[@]}"; do
msg2 '%s' "${old_pkg}"
- clean_pkg "${root_dir}/${native_packages_pool}/${old_pkg}"
+ clean_pkg "${root_dir}/${main_packages_pool}/${old_pkg}"
done
fi