diff options
| author | ruki <[email protected]> | 2019-07-30 00:40:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-07-29 22:03:54 +0800 |
| commit | d8a8688fbbc872df3b7466c89c2a3ec5c4e1b57c (patch) | |
| tree | 1d90d69888346bdc1f2770d6c03c75f44c43c1bb /scripts | |
| parent | 8e8c919e5c4309a6679f8b8596943660782f7bdb (diff) | |
add getconf for get.sh
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 f46627e15..ad8237470 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -83,7 +83,7 @@ install_tools() { yum --version >/dev/null 2>&1 && $sudoprefix yum install -y git readline-devel ccache && $sudoprefix yum groupinstall -y 'Development Tools'; } || { zypper --version >/dev/null 2>&1 && $sudoprefix zypper --non-interactive install git readline-devel ccache && $sudoprefix zypper --non-interactive install -t pattern devel_C_C++; } || { pacman -V >/dev/null 2>&1 && $sudoprefix pacman -S --noconfirm --needed git base-devel ccache; } || - { pkg help >/dev/null 2>&1 && $sudoprefix pkg install -y git build-essential readline ccache; } + { pkg help >/dev/null 2>&1 && $sudoprefix pkg install -y git getconf build-essential readline ccache; } } test_tools || { install_tools && test_tools; } || my_exit "$(echo -e 'Dependencies Installation Fail\nThe getter currently only support these package managers\n\t* apt\n\t* yum\n\t* zypper\n\t* pacman\nPlease install following dependencies manually:\n\t* git\n\t* build essential like `make`, `gcc`, etc\n\t* libreadline-dev (readline-devel)\n\t* ccache (optional)')" 1 branch=master |
