diff options
| author | TitanSnow <[email protected]> | 2017-04-21 20:35:18 +0800 |
|---|---|---|
| committer | TitanSnow <[email protected]> | 2017-04-21 20:35:18 +0800 |
| commit | a2e68cad0e0206e4a845db1de4f011ca1f619315 (patch) | |
| tree | 6b4220b93a8ad095cc87e6d100e08583486e7896 /scripts | |
| parent | f87d501966fdd0d0292b7a3a4a6e763fcd80247a (diff) | |
use zypper --non-interactive
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 ab4577e71..2215bd2cb 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -25,7 +25,7 @@ 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 install -n git && $sudoprefix zypper install -n -t pattern devel_C_C++; } || + { zypper --version >/dev/null 2>&1 && $sudoprefix zypper install --non-interactive git && $sudoprefix zypper install --non-interactive -t pattern devel_C_C++; } || { pacman -V >/dev/null 2>&1 && $sudoprefix pacman -S --noconfirm git base-devel; } } test_tools || { install_tools && test_tools; } || |
