Merge pull request #6273 from ethereum/centos-install-fix

Fix boost repository URL in CentOS install script
This commit is contained in:
chriseth 2019-03-13 19:56:02 +01:00 committed by GitHub
commit 543363d2a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,7 @@ Bugfixes:
Build System:
* Install scripts: Fix boost repository URL for CentOS 6.
### 0.5.6 (2019-03-13)

View File

@ -353,6 +353,7 @@ case $(uname -s) in
# needed, but some tweaking/improvements can definitely happen
#------------------------------------------------------------------------------
CentOS*)
echo "Attention: CentOS 7 is currently not supported!";
read -p "This script will heavily modify your system in order to allow for compilation of Solidity. Are you sure? [Y/N]" -n 1 -r
if [[ $REPLY =~ ^[Yy]$ ]]; then
# Make Sure we have the EPEL repos
@ -376,7 +377,7 @@ case $(uname -s) in
# Get latest boost thanks to this guy: http://vicendominguez.blogspot.de/2014/04/boost-c-library-rpm-packages-for-centos.html
sudo yum -y remove boost-devel
sudo wget http://repo.enetres.net/enetres.repo -O /etc/yum.repos.d/enetres.repo
sudo wget https://bintray.com/vicendominguez/CentOS6/rpm -O /etc/yum.repos.d/bintray-vicendominguez-CentOS6.repo
sudo yum install boost-devel
else
echo "Aborted CentOS Solidity Dependency Installation";