summaryrefslogtreecommitdiff
path: root/cron-jobs
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 13:58:19 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 13:58:19 -0400
commitf3add3749351c9070e0fbe43f37b5a94ac1e7123 (patch)
treecf9739f8596e87c6788c125a5729b9965b593659 /cron-jobs
parentb56bcf5030f7eb8af196edb0aabb6bf75e5283ec (diff)
more config file cleanup
Diffstat (limited to 'cron-jobs')
-rwxr-xr-xcron-jobs/db-cleanup1
-rw-r--r--cron-jobs/db-cleanup.conf11
2 files changed, 12 insertions, 0 deletions
diff --git a/cron-jobs/db-cleanup b/cron-jobs/db-cleanup
index ce0e5f7..12d3615 100755
--- a/cron-jobs/db-cleanup
+++ b/cron-jobs/db-cleanup
@@ -16,6 +16,7 @@ trap_exit() {
}
source "$(dirname $(dirname "$(readlink -e "$0")"))/config"
+source "$(dirname "$(readlink -e "$0")")/db-cleanup.conf"
source "$(librelib messages)"
# From makepkg
diff --git a/cron-jobs/db-cleanup.conf b/cron-jobs/db-cleanup.conf
new file mode 100644
index 0000000..7c2344c
--- /dev/null
+++ b/cron-jobs/db-cleanup.conf
@@ -0,0 +1,11 @@
+# Directories where packages are shared between repos
+# *relative to FTP_BASE*
+PKGPOOLS=(pool/parabola_gnu+linux # Parabola GNU/Linux-libre
+ pool/arch_gnu+linux_arm # Arch Linux ARM
+ pool/{packages,community} # Arch Linux
+ )
+# Directories where sources are stored
+SRCPOOLS=(src/parabola_gnu+linux # Parabola GNU/Linux-libre
+ src/arch_gnu+linux_arm # Arch Linux ARM
+ sources/{packages,community} # Arch Linux
+ )