From 3d64b0b0ec27f74b68599b28dee8babf04f9872b Mon Sep 17 00:00:00 2001 From: Asher <34049754+HaoXuan40404@users.noreply.github.com> Date: Thu, 3 Jan 2019 10:05:08 +0800 Subject: Update install_deps.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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*)" --- scripts/install_deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/install_deps.sh') 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 -- cgit