diff options
| author | TitanSnow <[email protected]> | 2017-05-07 08:53:55 +0800 |
|---|---|---|
| committer | TitanSnow <[email protected]> | 2017-05-07 08:53:55 +0800 |
| commit | 33635da7673bdfa32c549f164c6c9db55d360a49 (patch) | |
| tree | 4b2ac27b9a42b927c3810ec662a9a2d0e58b054c /scripts | |
| parent | 798350f405a3c29df9fb6f3fe7d6a127cdf25de1 (diff) | |
rm libreadline-dev on other pm
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/get.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/get.sh b/scripts/get.sh index 149410722..94b616ce7 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -48,9 +48,9 @@ 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 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; } + { 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; } } test_tools || { install_tools && test_tools; } || my_exit 'Dependencies Installation Fail' 1 branch= |
