mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 12:40:07 +00:00
improve(shell): add tar check
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user