diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-04-17 13:58:19 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-04-17 13:58:19 -0400 |
commit | f3add3749351c9070e0fbe43f37b5a94ac1e7123 (patch) | |
tree | cf9739f8596e87c6788c125a5729b9965b593659 | |
parent | b56bcf5030f7eb8af196edb0aabb6bf75e5283ec (diff) |
more config file cleanup
-rw-r--r-- | config | 12 | ||||
-rwxr-xr-x | cron-jobs/db-cleanup | 1 | ||||
-rw-r--r-- | cron-jobs/db-cleanup.conf | 11 |
3 files changed, 12 insertions, 12 deletions
@@ -13,18 +13,6 @@ PKGREPOS=( PKGPOOL='pool/parabola_gnu+linux' SRCPOOL='src/parabola_gnu+linux' -# 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 - ) - CLEANUP_DESTDIR="$FTP_BASE/old/pkg" CLEANUP_DRYRUN=false # Time in days to keep moved packages 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 + ) |