diff options
| author | TitanSnow <[email protected]> | 2017-05-07 10:21:58 +0800 |
|---|---|---|
| committer | TitanSnow <[email protected]> | 2017-05-07 11:03:37 +0800 |
| commit | e6c6aba7af39eb8dba8d564c085d6b9cdfae32d0 (patch) | |
| tree | afc39bc9badc8bd2bfb8963373a77223f5323f9d /scripts | |
| parent | 5fa44e94c0abf1f2cb270c24a37b0d15bb8f821d (diff) | |
readline-devel on zypper
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/get.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get.sh b/scripts/get.sh index 1b99ea23c..0468e3ef1 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -49,7 +49,7 @@ 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 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++; } || + { zypper --version >/dev/null 2>&1 && $sudoprefix zypper --non-interactive install git readline-devel && $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 |
