updated bootstrap.sh

pull/2/head
Hari Sekhon 3 years ago
parent c340a8bd63
commit aa611b4a15

@ -53,7 +53,7 @@ elif [ "$(uname -s)" = Linux ]; then
$sudo apt-get install $opts -y git make curl wget --no-install-recommends
elif type yum >/dev/null 2>&1; then
if grep -qi 'NAME=.*CentOS' /etc/*release; then
echo "CentOS EOL detected, replacing base URL to vault to re-enable package installs"
echo "CentOS EOL detected, replacing yum base URL to vault to re-enable package installs"
$sudo sed -i 's/^[[:space:]]*mirrorlist/#mirrorlist/' /etc/yum.repos.d/CentOS-Linux-*
$sudo sed -i 's|^#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|' /etc/yum.repos.d/CentOS-Linux-*
fi

Loading…
Cancel
Save