From 8bb59c1dee54c88b17c0a5bcc7f4c7868179f4d6 Mon Sep 17 00:00:00 2001 From: lsy Date: Wed, 24 Jul 2024 13:28:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Menus/Software.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Menus/Software.sh b/Menus/Software.sh index a955cde..f82c546 100644 --- a/Menus/Software.sh +++ b/Menus/Software.sh @@ -24,7 +24,7 @@ soft_array[6]='zsh' echo "======一键安装常用软件======" -for i in ${soft_array[@]} +for i in "${soft_array[@]}" do read -p "是否安装${i},输入 n 取消安装:" pick if [[ ! $pick =~ [Nn] ]];then