summaryrefslogtreecommitdiff
path: root/cron-jobs/sourceballs
diff options
context:
space:
mode:
authorParabola <parabolavnx@lions.dreamhost.com>2011-02-20 17:12:07 -0800
committerParabola <parabolavnx@lions.dreamhost.com>2011-02-20 17:12:07 -0800
commit6b52145fff48af649956cb5be145dff157d3ca58 (patch)
tree2335c04a1ca4e86a6f76ae5923d89cf367a93ad1 /cron-jobs/sourceballs
parentc6516eca2803b780a01a6b2bf3e081c8bd570301 (diff)
parent0162a16595059e269ba2d7b47e69212bc2ab1336 (diff)
Merge branch 'master' of http://projects.parabolagnulinux.org/dbscripts
Conflicts: db-functions
Diffstat (limited to 'cron-jobs/sourceballs')
-rwxr-xr-xcron-jobs/sourceballs5
1 files changed, 4 insertions, 1 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index 53d43ce..ee074bd 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -59,7 +59,7 @@ for repo in ${PKGREPOS[@]}; do
pkgarch=${pkginfo[2]}
pkglicense=(${pkginfo[@]:3})
- # Should this package be skipped?
+ # Should this packages be skipped?
if grep -Fqx "${pkgbase}" "${dirname}/sourceballs.skip"; then
continue
fi
@@ -82,6 +82,9 @@ for repo in ${PKGREPOS[@]}; do
mkdir -p "${WORKDIR}/pkgbuilds/${repo}-${pkgarch}"
#svn export -q "${SVNREPO}/${pkgbase}/repos/${repo}-${pkgarch}" \
# "${WORKDIR}/pkgbuilds/${repo}-${pkgarch}/${pkgbase}" >/dev/null 2>&1
+
+ # If it's on official repos, nor [libre], nor [libre-testing]
+ cp -r "${SVNREPO}/$repo/${pkgbase}" "${WORKDIR}/pkgbuilds/${repo}-${pkgarch}/" >/dev/null 2>&1 || \
cp -r "${SVNREPO}/libre/${pkgbase}" "${WORKDIR}/pkgbuilds/${repo}-${pkgarch}/" >/dev/null 2>&1 || \
cp -r "${SVNREPO}/libre-testing/${pkgbase}" "${WORKDIR}/pkgbuilds/${repo}-${pkgarch}/" >/dev/null 2>&1
if [ $? -ge 1 ]; then