mirror of
https://github.com/nezhahq/nezha.git
synced 2025-02-02 01:28:13 -05:00
improve(shell): add tar check
This commit is contained in:
parent
eacf6408a5
commit
66e469b1c4
@ -102,8 +102,8 @@ before_show_menu() {
|
||||
}
|
||||
|
||||
install_base() {
|
||||
(command -v git >/dev/null 2>&1 && command -v curl >/dev/null 2>&1 && command -v wget >/dev/null 2>&1) ||
|
||||
(install_soft curl wget git)
|
||||
(command -v git >/dev/null 2>&1 && command -v curl >/dev/null 2>&1 && command -v wget >/dev/null 2>&1 && command -v tar >/dev/null 2>&1) ||
|
||||
(install_soft curl wget git tar)
|
||||
}
|
||||
|
||||
install_soft() {
|
||||
|
Loading…
Reference in New Issue
Block a user