Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/rankmirrors.sh.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2010-06-04 00:10:50 +1000
committerDan McGee <dan@archlinux.org>2010-07-07 07:25:55 -0500
commit68dcabdfbeadc43c74eccf395a9f04565c5d682e (patch)
treefac209275fe38058b97f8b896581ab5b560a4f32 /scripts/rankmirrors.sh.in
parent60de8ec932984f1374501c3f11ad1bcfba5c7d5c (diff)
Remove DBEXT usage
With commit 5dffef78, the repo database always has a symlink of the form reponame.db. Use that filename and let libarchive determine the compression type. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/rankmirrors.sh.in')
-rw-r--r--scripts/rankmirrors.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rankmirrors.sh.in b/scripts/rankmirrors.sh.in
index b0dc1ab7..0cd4c083 100644
--- a/scripts/rankmirrors.sh.in
+++ b/scripts/rankmirrors.sh.in
@@ -85,7 +85,7 @@ getfetchurl() {
if [[ -z $reponame || $reponame = $replacedurl ]]; then
echo "fail"
else
- local fetchurl="${replacedurl}/$reponame@DBEXT@"
+ local fetchurl="${replacedurl}/$reponame.db"
echo "$fetchurl"
fi
}