improve(shell): add tar check

This commit is contained in:
naiba 2020-12-07 12:10:42 +08:00
parent eacf6408a5
commit 66e469b1c4

View File

@ -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() {