1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-23 23:01:05 +01:00
void-packages/common/travis/set_mirror.sh

9 lines
213 B
Bash
Raw Normal View History

2024-03-29 08:12:19 +01:00
#!/bin/sh
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-default\.voidlinux\.org:$TRAVIS_MIRROR:g" $_i
done