From d331d585fd36a067d660068f979f3d52a5de9686 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Fri, 5 Aug 2022 22:51:31 +0200 Subject: [PATCH] common/travis: use https for repo-ci.voidlinux.org This reverts commit 2233ca2edf8c029522e89be5e13801f225c8072f. We now have a cert on repo-ci and http to https redirects so that each request results in a redirect. --- common/travis/set_mirror.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/common/travis/set_mirror.sh b/common/travis/set_mirror.sh index c14f6ac70e3..5d8e47781b5 100755 --- a/common/travis/set_mirror.sh +++ b/common/travis/set_mirror.sh @@ -1,16 +1,8 @@ #!/bin/sh -TRAVIS_PROTO=http TRAVIS_MIRROR=repo-ci.voidlinux.org for _i in etc/xbps.d/repos-remote*.conf ; do /bin/echo -e "\x1b[32mUpdating $_i...\x1b[0m" - # First fix the proto, ideally we'd serve everything with HTTPS, - # but key management and rotation is a pain, and things are signed - # so we can afford to be a little lazy at times. - sed -i "s:https:$TRAVIS_PROTO:g" $_i - - # Now set the mirror - sed -i "s:alpha\.de\.repo\.voidlinux\.org:$TRAVIS_MIRROR:g" $_i - sed -i "s:repo-default\.voidlinux\.org:$TRAVIS_MIRROR:g" $_i + sed -i "s:repo\.voidlinux\.org:$TRAVIS_MIRROR:g" $_i done