summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-05-07 08:38:20 +0800
committerTitanSnow <[email protected]>2017-05-07 08:38:20 +0800
commit798350f405a3c29df9fb6f3fe7d6a127cdf25de1 (patch)
treed4872c242552e04836714926f968e12c4f085104 /scripts
parent75344c5b27c0ce04f5e2e261382a00403d15bda9 (diff)
try to add libreadline-dev
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/get.sh b/scripts/get.sh
index 01f59f790..149410722 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -47,10 +47,10 @@ test_tools()
}
install_tools()
{
- { apt-get --version >/dev/null 2>&1 && $sudoprefix apt-get install -y git build-essential; } ||
- { yum --version >/dev/null 2>&1 && $sudoprefix yum install -y git && $sudoprefix yum groupinstall -y 'Development Tools'; } ||
- { zypper --version >/dev/null 2>&1 && $sudoprefix zypper --non-interactive install git && $sudoprefix zypper --non-interactive install -t pattern devel_C_C++; } ||
- { pacman -V >/dev/null 2>&1 && $sudoprefix pacman -S --noconfirm git base-devel; }
+ { apt-get --version >/dev/null 2>&1 && $sudoprefix apt-get install -y git build-essential libreadline-dev; } ||
+ { yum --version >/dev/null 2>&1 && $sudoprefix yum install -y git libreadline-dev && $sudoprefix yum groupinstall -y 'Development Tools'; } ||
+ { zypper --version >/dev/null 2>&1 && $sudoprefix zypper --non-interactive install git libreadline-dev && $sudoprefix zypper --non-interactive install -t pattern devel_C_C++; } ||
+ { pacman -V >/dev/null 2>&1 && $sudoprefix pacman -S --noconfirm git base-devel libreadline-dev; }
}
test_tools || { install_tools && test_tools; } || my_exit 'Dependencies Installation Fail' 1
branch=