diff options
author | Asher <34049754+HaoXuan40404@users.noreply.github.com> | 2019-01-03 10:05:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-03 10:05:08 +0800 |
commit | 3d64b0b0ec27f74b68599b28dee8babf04f9872b (patch) | |
tree | 123be26cfd4414c7c737140ee8826f0366af5756 | |
parent | 8a9e01275707a95aa731e8d9735dc2957f34a8e7 (diff) | |
download | dexon-solidity-3d64b0b0ec27f74b68599b28dee8babf04f9872b.tar dexon-solidity-3d64b0b0ec27f74b68599b28dee8babf04f9872b.tar.gz dexon-solidity-3d64b0b0ec27f74b68599b28dee8babf04f9872b.tar.bz2 dexon-solidity-3d64b0b0ec27f74b68599b28dee8babf04f9872b.tar.lz dexon-solidity-3d64b0b0ec27f74b68599b28dee8babf04f9872b.tar.xz dexon-solidity-3d64b0b0ec27f74b68599b28dee8babf04f9872b.tar.zst dexon-solidity-3d64b0b0ec27f74b68599b28dee8babf04f9872b.zip |
Update install_deps.sh
In install_deps.sh, line 59 (sed -n -e 's/^NAME="?([^"])"?$/\1/p' /etc/os-release) will get CentOS Linux instead of CentOS, so it cant match CentOS.
I suggest that in line 355, can modified " CentOS)" to " CentOS*)"
-rwxr-xr-x | scripts/install_deps.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install_deps.sh b/scripts/install_deps.sh index 09d5a249..0d1620c4 100755 --- a/scripts/install_deps.sh +++ b/scripts/install_deps.sh @@ -352,7 +352,7 @@ case $(uname -s) in # CentOS needs some more testing. This is the general idea of packages # needed, but some tweaking/improvements can definitely happen #------------------------------------------------------------------------------ - CentOS) + 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 |