From bf495185ffc09d1fd604c06586f8d30b22773383 Mon Sep 17 00:00:00 2001 From: Akatsukiro Date: Tue, 16 Jan 2024 15:04:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=89=E8=A3=85=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E6=97=B6=E5=8F=8C=E5=BC=95=E5=8F=B7=E5=AF=BC=E8=87=B4=E7=9A=84?= =?UTF-8?q?=E5=8C=85=E5=90=8D=E6=A3=80=E7=B4=A2=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index ec46c5c..80fb92a 100644 --- a/install.sh +++ b/install.sh @@ -60,8 +60,8 @@ pre_check() { install_soft() { - (command -v apt >/dev/null 2>&1 && apt update && apt install "$*" -y) || - (command -v apt-get >/dev/null 2>&1 && apt-get update && apt-get install "$*" -y) + (command -v apt >/dev/null 2>&1 && apt update && apt install $* -y) || + (command -v apt-get >/dev/null 2>&1 && apt-get update && apt-get install $* -y) } install_base() {