common/travis: mirror replace pattern

This commit is contained in:
Duncaen 2022-08-05 22:59:41 +02:00
parent d331d585fd
commit 70d5c4a88d
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
1 changed files with 1 additions and 1 deletions

View File

@ -4,5 +4,5 @@ TRAVIS_MIRROR=repo-ci.voidlinux.org
for _i in etc/xbps.d/repos-remote*.conf ; do
/bin/echo -e "\x1b[32mUpdating $_i...\x1b[0m"
sed -i "s:repo\.voidlinux\.org:$TRAVIS_MIRROR:g" $_i
sed -i "s:repo-default\.voidlinux\.org:$TRAVIS_MIRROR:g" $_i
done