mirror of
https://github.com/akatsukiro/lsky-pro-install-script.git
synced 2025-06-08 05:33:41 +08:00
fix: 完善基础组件内容
This commit is contained in:
parent
28657ce8e2
commit
578edcaca1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user