Follow redirects when using curl to setup repositories

current-passed-ci is now redirected and hosted on a CDN.

Change-Id: I27247b7e19a1fbbb72d10bfb8c4df3babbfbff59
This commit is contained in:
David Moreau-Simard
2016-06-23 16:41:34 -04:00
parent 2380a93e3b
commit b4ff4914cb

View File

@@ -136,8 +136,8 @@ echo "root hard nofile 65536" | $SUDO tee -a /etc/security/limits.conf
# Setup repositories
if [ "${MANAGE_REPOS}" = true ]; then
$SUDO curl ${DELOREAN} -o /etc/yum.repos.d/delorean.repo
$SUDO curl ${DELOREAN_DEPS} -o /etc/yum.repos.d/delorean-deps.repo
$SUDO curl -L ${DELOREAN} -o /etc/yum.repos.d/delorean.repo
$SUDO curl -L ${DELOREAN_DEPS} -o /etc/yum.repos.d/delorean-deps.repo
fi
# Install dependencies