Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjelle van der Waa <jelle@archlinux.org>2019-10-15 23:17:00 +0200
committerLevente Polyak <anthraxx@archlinux.org>2019-10-15 23:30:23 +0200
commit29c6fa85373324c027c4ca3965707422187881d6 (patch)
tree36d40637d62c1ddad1f1f574cfb51531e9d1aa33
parent74f65db396038caafcba20e4302fba080d8cc100 (diff)
sogrep: redirect to destination mirror (#25)
Some mirrors redirect consumers to a near by mirror which isn't handled by sogrep.
-rwxr-xr-xsogrep.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sogrep.in b/sogrep.in
index 055c61f..ce7b21e 100755
--- a/sogrep.in
+++ b/sogrep.in
@@ -41,7 +41,7 @@ recache() {
for arch in "${arches[@]}"; do
rm -rf "${SOCACHE_DIR}/${arch}/${repo}"
mkdir -p "${SOCACHE_DIR}/${arch}/${repo}"
- curl "$verbosity" "${SOLINKS_MIRROR}/${repo}/os/${arch}/${repo}.links.tar.gz" | bsdtar -xf - -C "${SOCACHE_DIR}/${arch}/${repo}"
+ curl -L "$verbosity" "${SOLINKS_MIRROR}/${repo}/os/${arch}/${repo}.links.tar.gz" | bsdtar -xf - -C "${SOCACHE_DIR}/${arch}/${repo}"
done
done
}