1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-11-14 18:58:06 +01:00
void-packages/common/travis/set_mirror.sh
2024-03-29 08:12:19 +01:00

8 lines
213 B
Bash
Executable file

#!/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