void-packages/common/travis/set_mirror.sh
classabbyamp 89e672db3d
common/travis/set_mirror.sh: Revert "switch to repo-de temporarily"
This reverts commit 836b6c484e,
as the repo-fi sync issue has now been resolved
2023-04-02 15:34:14 -04: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