fix: 完善基础组件内容

This commit is contained in:
Akatsukiro 2024-01-18 16:33:21 +08:00
parent 28657ce8e2
commit 578edcaca1
Signed by: Akatsukiro
GPG Key ID: 93F1D32999999999

View File

@ -82,8 +82,8 @@ install_soft() {
install_base() {
echo -e "${green}开始安装基础组件${plain}"
(command -v git >/dev/null 2>&1 && command -v curl >/dev/null 2>&1 && command -v wget >/dev/null 2>&1 && command -v unzip >/dev/null 2>&1 && command -v getenforce >/dev/null 2>&1 && command -v gnupg >/dev/null 2>&1) ||
(install_soft curl wget git unzip gnupg)
(command -v git >/dev/null 2>&1 && command -v curl >/dev/null 2>&1 && command -v wget >/dev/null 2>&1 && command -v unzip >/dev/null 2>&1 && command -v getenforce >/dev/null 2>&1 && command -v gnupg >/dev/null 2>&1 && command -v lsb_release >/dev/null) ||
(install_soft curl wget git unzip gnupg lsb-release ca-certificates)
}
install_base