mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add warning for CentOS dependencies
This commit is contained in:
parent
b720e7b03d
commit
9280954e72
@ -338,6 +338,8 @@ case $(uname -s) in
|
||||
# needed, but some tweaking/improvements can definitely happen
|
||||
#------------------------------------------------------------------------------
|
||||
CentOS)
|
||||
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
|
||||
sudo yum -y install epel-release
|
||||
# Get g++ 4.8
|
||||
@ -364,6 +366,10 @@ case $(uname -s) in
|
||||
|
||||
# And finally jsoncpp
|
||||
sudo yum -y install jsoncpp-devel
|
||||
else
|
||||
echo "Aborted CentOS Solidity Dependency Installation";
|
||||
exit 1
|
||||
fi
|
||||
|
||||
;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user