diff options
author | Allan McRae <allan@archlinux.org> | 2010-06-04 00:10:50 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-07-07 07:25:55 -0500 |
commit | 68dcabdfbeadc43c74eccf395a9f04565c5d682e (patch) | |
tree | fac209275fe38058b97f8b896581ab5b560a4f32 /scripts/rankmirrors.sh.in | |
parent | 60de8ec932984f1374501c3f11ad1bcfba5c7d5c (diff) | |
download | pacman-68dcabdfbeadc43c74eccf395a9f04565c5d682e.tar.xz |
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.in | 2 |
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 } |