summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-05-07 10:01:22 +0800
committerTitanSnow <[email protected]>2017-05-07 10:01:22 +0800
commit5fa44e94c0abf1f2cb270c24a37b0d15bb8f821d (patch)
treea166db6b349aa3886b168d0cf1ca732021692541 /scripts
parent6051ccefdc1d57e355f6ad93ebdac0fdb4e40c1e (diff)
readline-devel on yum
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get.sh b/scripts/get.sh
index 393ac4d6f..1b99ea23c 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -48,7 +48,7 @@ test_tools()
install_tools()
{
{ 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 && $sudoprefix yum groupinstall -y 'Development Tools'; } ||
+ { yum --version >/dev/null 2>&1 && $sudoprefix yum install -y git readline-devel && $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; }
}