Update comments

Added tar package installation

Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
Teddysun
2020-07-26 17:16:19 +09:00
parent 061d9a8e01
commit 8c025720b6

View File

@@ -993,13 +993,13 @@ install_tools(){
_info "Installing development tools..."
if check_sys packageManager apt; then
apt-get -y update > /dev/null 2>&1
apt_tools=(gcc g++ make wget perl curl bzip2 libreadline-dev net-tools python python-dev cron ca-certificates ntpdate)
apt_tools=(tar gcc g++ make wget perl curl bzip2 libreadline-dev net-tools python python-dev cron ca-certificates ntpdate)
for tool in ${apt_tools[@]}; do
error_detect_depends "apt-get -y install ${tool}"
done
elif check_sys packageManager yum; then
yum makecache > /dev/null 2>&1
yum_tools=(yum-utils gcc gcc-c++ make wget perl curl bzip2 readline readline-devel net-tools crontabs ca-certificates)
yum_tools=(yum-utils tar gcc gcc-c++ make wget perl curl bzip2 readline readline-devel net-tools crontabs ca-certificates)
for tool in ${yum_tools[@]}; do
error_detect_depends "yum -y install ${tool}"
done