improve(shell): add tar check
@@ -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() {
