summaryrefslogtreecommitdiff
path: root/cron-jobs
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2010-05-03 09:17:04 -0700
committerAaron Griffin <aaronmgriffin@gmail.com>2010-05-03 09:17:04 -0700
commitee4074de910df5c637691ace06ec5a9d475fb4a3 (patch)
treed9a241b9befd7a902d75db3dd068be01af4aec93 /cron-jobs
parent1e13a032ac0bef748150c60f3b670e57dad2aee5 (diff)
Add PKGPOOL_DIR config variable
This is a relative var, descendent from FTP_BASE. We do this because we also need a relative path to the package pool dir
Diffstat (limited to 'cron-jobs')
-rwxr-xr-xcron-jobs/ftpdir-cleanup2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-jobs/ftpdir-cleanup b/cron-jobs/ftpdir-cleanup
index 977b384..a278341 100755
--- a/cron-jobs/ftpdir-cleanup
+++ b/cron-jobs/ftpdir-cleanup
@@ -36,7 +36,7 @@ done
to_cleanup=""
for _arch in ${ARCHES[@]}; do
- poolpath="$FTP_BASE/packages/os/$_arch/"
+ poolpath="$FTP_BASE/$PKGPOOL_DIR/os/$_arch/"
cd $poolpath
for pkg in *$PKGEXT; do
[ -f "$pkg" ] || continue # in case we get a file named "*.pkg.tar.gz"