summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config12
-rwxr-xr-xcron-jobs/db-cleanup1
-rw-r--r--cron-jobs/db-cleanup.conf11
3 files changed, 12 insertions, 12 deletions
diff --git a/config b/config
index ec56c65..041c9eb 100644
--- a/config
+++ b/config
@@ -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
+ )