aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/install_deps.sh
diff options
context:
space:
mode:
authorAsher <34049754+HaoXuan40404@users.noreply.github.com>2019-01-03 10:05:08 +0800
committerGitHub <noreply@github.com>2019-01-03 10:05:08 +0800
commit3d64b0b0ec27f74b68599b28dee8babf04f9872b (patch)
tree123be26cfd4414c7c737140ee8826f0366af5756 /scripts/install_deps.sh
parent8a9e01275707a95aa731e8d9735dc2957f34a8e7 (diff)
downloaddexon-solidity-3d64b0b0ec27f74b68599b28dee8babf04f9872b.tar.gz
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*)"
Diffstat (limited to 'scripts/install_deps.sh')
-rwxr-xr-xscripts/install_deps.sh2
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