common/travis: Update mirror

This commit is contained in:
Michael Aldridge 2018-09-02 11:53:41 -07:00 committed by Enno Boland
parent 789d8e2cfd
commit 47df4e3ea2
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
TRAVIS_PROTO=https
TRAVIS_MIRROR=beta.de.repo.voidlinux.org
TRAVIS_PROTO=http
TRAVIS_MIRROR=alpha.us.repo.voidlinux.org
for _i in etc/repos-remote.conf etc/defaults.conf etc/repos-remote-x86_64.conf ; do
printf '\x1b[32mUpdating %s...\x1b[0m\n' $_i
@ -11,5 +11,5 @@ for _i in etc/repos-remote.conf etc/defaults.conf etc/repos-remote-x86_64.conf ;
sed -i "s:https:$TRAVIS_PROTO:g" $_i
# Now set the mirror
sed -i "s:repo\.voidlinux\.eu:$TRAVIS_MIRROR:g" $_i
sed -i "s:alpha\.de\.repo\.voidlinux\.org:$TRAVIS_MIRROR:g" $_i
done