summaryrefslogtreecommitdiff
path: root/config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config.sh')
-rwxr-xr-xconfig.sh17
1 files changed, 11 insertions, 6 deletions
diff --git a/config.sh b/config.sh
index 60bd4ea..741dee4 100755
--- a/config.sh
+++ b/config.sh
@@ -1,22 +1,25 @@
#!/bin/sh
# -*- coding: utf-8 -*-
-
# Mirror options
mirror="mirrors.eu.kernel.org"
mirrorpath="::mirrors/archlinux"
-# Directories and files
-
+# Directories
## Optionals
paraboladir=~/parabolagnulinux.org
logtime=$(date -u +%Y%m%d-%H:%M)
-
## Must be defined
logname=${paraboladir}/${logtime}-repo-maintainer.log
tempdir=~/tmp/
docs_dir=${paraboladir}/docs
repodir=${paraboladir}/repo
+# End Directories
+
+# Files
+blacklist=${docs_dir}/blacklist.txt
+whitelist=${docs_dir}/whitelist.txt
+pending=${docs_dir}/pending
rsync_blacklist=${docs_dir}/rsyncBlacklist
# Repos, arches, and dirs for repo
@@ -33,16 +36,18 @@ debug="False"
rsync_update_command="rsync -av --delay-updates --exclude='*.{abs|db}.tar.*' "
rsync_post_command="rsync -av --delete --exclude='*.abs.tar.*' "
-
function run_python_cmd {
env \
mirror=${mirror} \
mirrorpath=${mirrorpath} \
logname=${logname} \
tempdir=${tempdir} \
- rsync_blacklist=${rsync_blacklist} \
docs_dir=${docs_dir} \
repodir=${repodir} \
+ blacklist=${blacklist} \
+ whitelist=${whitelist} \
+ pending=${pending} \
+ rsync_blacklist=${rsync_blacklist} \
repo_list=${repo_list} \
dir_list=${dir_list} \
arch_list=${arch_list} \