summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-08-19 19:14:29 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-08-19 19:14:29 -0400
commit5e578ace98c0dd979ac2f9a1477ba47ddabd1220 (patch)
tree7be524501749d72468105c1bd6f72d033a8d9b8e
parente0a2005c59d15ef462d2bf26404a5b2d14266f0b (diff)
parent21a1c0b1c74e877209a0a467d2b9fade996cac92 (diff)
Merge branch 'web'
-rwxr-xr-xget-repos6
1 files changed, 3 insertions, 3 deletions
diff --git a/get-repos b/get-repos
index 4397d54..98a39bc 100755
--- a/get-repos
+++ b/get-repos
@@ -26,7 +26,7 @@ DBLIST=()
# Repos
for _repo in ${PKGREPOS[@]}; do
for _arch in ${ARCHES[@]}; do
- DBLIST+=("http://repo.parabolagnulinux.org/${_repo}/os/${_arch}/${_repo}${DBEXT}")
+ DBLIST+=("http://repo.parabolagnulinux.org/${_repo}/os/${_arch}/${_repo}${FILESEXT}")
done
done
@@ -36,7 +36,7 @@ done
# MAYBE run scripts on get-repos.d/ which should return db urls
for _repo in ${RMTREPOS}; do
_arch=i586
- DBLIST+=("http://www.connochaetos.org/os/${_arch}/${_repo}/${_repo}${DBEXT}")
+ DBLIST+=("http://www.connochaetos.org/os/${_arch}/${_repo}/${_repo}${FILESEXT}")
done
# Get them all
@@ -52,7 +52,7 @@ wget --directory-prefix=${TMPDIR} \
arch_re="$(echo "(${ARCHES[@]} i586)" | tr ' ' '|')"
msg "Adding to parabolaweb"
-find "${TMPDIR}" -iname "*${DBEXT}" | while read _db; do
+find "${TMPDIR}" -iname "*${FILESEXT}" | while read _db; do
_arch=$(echo "${_db}" | egrep -o "${arch_re}")
if [ -z "${_arch}" ]; then