From 21a1c0b1c74e877209a0a467d2b9fade996cac92 Mon Sep 17 00:00:00 2001 From: Parabola Date: Mon, 19 Aug 2013 16:04:18 -0700 Subject: get-repos: parabolaweb wants *.files.tar.gz files, not *.db.tar.gz --- get-repos | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'get-repos') 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 -- cgit v1.2.3-54-g00ecf