summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2013-08-19 16:04:18 -0700
committerParabola <dev@list.parabolagnulinux.org>2013-08-19 16:04:18 -0700
commit21a1c0b1c74e877209a0a467d2b9fade996cac92 (patch)
tree947f18fc05a697bdd0ef6ee630c3246a4d836b1f
parent0d409373d58f1e2ab8a6df6f2123b986aed562a2 (diff)
get-repos: parabolaweb wants *.files.tar.gz files, not *.db.tar.gz
-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