summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config10
-rwxr-xr-xdb-sync2
2 files changed, 6 insertions, 6 deletions
diff --git a/config b/config
index a0849a9..23b7bbb 100644
--- a/config
+++ b/config
@@ -1,10 +1,10 @@
#!/bin/bash
-FTP_BASE="/tmp/repo"
-ARCH_BASE="/tmp/repo"
+FTP_BASE="/srv/http/repo/public/temprepo"
+ARCH_BASE="/srv/http/repo/public/temprepo"
SVNREPO="/var/abs"
# Repos from Arch
-ARCHREPOS=('core') #'extra' 'community' 'testing' 'multilib')
+ARCHREPOS=('core' 'testing') #'extra' 'community' 'testing' 'multilib')
# Official Parabola repos
OURREPOS=('libre' 'libre-testing')
# User repos
@@ -32,7 +32,7 @@ LOCK_TIMEOUT=300
STAGING="$FTP_BASE/staging"
TMPDIR="/tmp"
-ARCHARCHES=(i686) # x86_64)
+ARCHARCHES=(i686 x86_64)
ARCHES=(${ARCHARCHES[@]} mips64el)
DBEXT=".db.tar.gz"
FILESEXT=".files.tar.gz"
@@ -40,4 +40,4 @@ PKGEXT=".pkg.tar.?z"
SRCEXT=".src.tar.gz"
MAKEPKGCONF="/etc/makepkg.conf"
-BLACKLIST_FILE="$FTP_BASE/blacklist.txt"
+BLACKLIST_FILE="$HOME/blacklist/blacklist.txt"
diff --git a/db-sync b/db-sync
index 0bb79b7..1a9e02f 100755
--- a/db-sync
+++ b/db-sync
@@ -89,7 +89,7 @@ init() {
# We delete here for cleanup
rsync -vrtlH \
--delete-after \
- --safe-links \
+ --delete-excluded \
--delay-updates \
--max-delete=1000 \
--include-from=/tmp/${_repo}-${_arch}.whitelist \