diff options
| author | TitanSnow <[email protected]> | 2017-04-21 20:20:19 +0800 |
|---|---|---|
| committer | TitanSnow <[email protected]> | 2017-04-21 20:20:19 +0800 |
| commit | f87d501966fdd0d0292b7a3a4a6e763fcd80247a (patch) | |
| tree | 0f88787a03e9011121717d6ebd684000483d3961 /scripts | |
| parent | 92ab4637f31a1645b04cfd04f7bd368ccc15105c (diff) | |
fix yum error
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 83dcfb627..ab4577e71 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -24,7 +24,7 @@ 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 'Development Tools'; } || + { 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 install -n git && $sudoprefix zypper install -n -t pattern devel_C_C++; } || { pacman -V >/dev/null 2>&1 && $sudoprefix pacman -S --noconfirm git base-devel; } } |
