summaryrefslogtreecommitdiff
path: root/main.sh
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-16 12:42:00 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-16 12:42:00 -0500
commite0aad034cd3b7e91137f85584f9b53cdc871f44f (patch)
treea7e633da9fc3947d29b6fa828312fe82d2eac99c /main.sh
parentfbc8eec9e5cb3d598fb84579811f16ff8c2b71d8 (diff)
Modified local_config.example
Diffstat (limited to 'main.sh')
-rwxr-xr-xmain.sh35
1 files changed, 0 insertions, 35 deletions
diff --git a/main.sh b/main.sh
deleted file mode 100755
index b3ecb92..0000000
--- a/main.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-# -*- coding: utf-8 -*-
-
-source ./config
-source ./local_config
-source ./libremessages
-
-for repo in ${PKGREPOS[@]}; do
- for arch in ${ARCHES[@]} 'any'; do
- msg "Syncing ${repo} ${arch}"
- filter.py -r "${rsync_blacklist}" -k "${blacklist}" -c \
- \"${rsync_list_command}\ \
- ${mirror}${mirrorpath}/${repo}/os/${arch}\ \
- ${repodir}/${repo}/\"
- find ${repodir}/${repo} -name *${PKGEXT} -print \
- > ${rsync_not_needed}
- ${rsync_update_command} \
- ${mirror}${mirrorpath}/${repo}/os/${arch} \
- ${repodir}/${repo} \
- --exclude-from=${rsync_blacklist} \
- --exclude-from=${rsync_not_needed}
- done
- for arch in ${ARCHES[@]}; do
- if [ -r ${repodir}/${repo}/os/${arch}/${repo}${DBEXT} ]; then
- clean_repo.py -k ${blacklist} -w ${whitelist} \
- -p ${docs_dir}/pending-${repo} \
- -b ${repodir}/${repo}/${repo}${DBEXT}
- fi
- clean_repo.py -k ${blacklist} -d ${repodir}/${repo}
-done
-
-db-update
-ftpdir-cleanup
-
-get_license.sh