From 66e469b1c4d855057f29b3b1257ae9b055fcfa27 Mon Sep 17 00:00:00 2001 From: naiba Date: Mon, 7 Dec 2020 12:10:42 +0800 Subject: [PATCH] improve(shell): add tar check --- script/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/install.sh b/script/install.sh index f750dbd..2cdc0b2 100755 --- a/script/install.sh +++ b/script/install.sh @@ -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() {