summaryrefslogtreecommitdiff
path: root/config.sh
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-11 01:09:25 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-11 01:09:25 -0500
commit3fb5f8efef231dd7784be880934cd106603ab6f1 (patch)
treeb3f62a0fb712de3f0c5fea92f7171d6fbf3cd2b2 /config.sh
parent61ee5da8b31b44e80e008619a32ca886d8799646 (diff)
bash-port ready for testing.
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} \